mirror of
https://github.com/zoe-may/TDoG-Skin.git
synced 2024-11-24 13:52:19 +08:00
15 lines
298 B
Plaintext
15 lines
298 B
Plaintext
|
#!/usr/bin/env php
|
||
|
<?php
|
||
|
|
||
|
use Defuse\Crypto\Key;
|
||
|
|
||
|
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
|
||
|
if (file_exists($file)) {
|
||
|
require $file;
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$key = Key::createNewRandomKey();
|
||
|
echo $key->saveToAsciiSafeString(), "\n";
|