7 lines
246 B
PHP
7 lines
246 B
PHP
|
<?php
|
||
|
header('Content-Type: text/plain');
|
||
|
echo '16: ' . bin2hex(random_bytes(8)) . PHP_EOL;
|
||
|
echo '32: ' . bin2hex(random_bytes(16)) . PHP_EOL;
|
||
|
echo '64: ' . bin2hex(random_bytes(32)) . PHP_EOL;
|
||
|
echo '128: ' . bin2hex(random_bytes(64)) . PHP_EOL;
|