Forked from
Sibidharan / API Development Course Apr 2021
19 commits behind the upstream repository.
-
Sibidharan authoredSibidharan authored
hash.php 223 B
<?php
$bytes = openssl_random_pseudo_bytes(32, $cstrong);
$hex = bin2hex($bytes);
echo "Lengths: Bytes: $i and Hex: " . strlen($hex) . PHP_EOL;
var_dump($hex);
var_dump($cstrong);
echo PHP_EOL;
?>