Moved old tests

This commit is contained in:
Netkas 2023-08-30 20:04:51 -04:00
parent e93fd81002
commit b751b39548
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
12 changed files with 33 additions and 13 deletions

View file

@ -0,0 +1,9 @@
<?php
require(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'autoload.php');
print('Generating new random key' . PHP_EOL);
$key = \ncc\Defuse\Crypto\Key::createNewRandomKey();
$ascii_key = $key->saveToAsciiSafeString();
print('Key: ' . $ascii_key . PHP_EOL);