- var_dump: documentation ( source)
- bin2hex: documentation ( source)
- base_convert: documentation ( source)
- function_exists: documentation ( source)
<?php
if (function_exists('openssl_random_pseudo_bytes')) {
$hash = openssl_random_pseudo_bytes(255);
$hash = bin2hex($hash);
$hash = base_convert($hash, 16, 36);
var_dump($hash);
}