mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
torrent downhash encrypt by hashids
This commit is contained in:
@@ -50,7 +50,9 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
||||
$torrentRep = new TorrentRepository();
|
||||
$r = $torrentRep->encryptDownHash(1, 1);
|
||||
dd($r, $torrentRep->decryptDownHash($r,1));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user