Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Generating Random String In PHP Using random_bytes() function. (Cryptographically Secure)

<?php 
$n = 20;
$result = bin2hex(random_bytes($n));
echo "Hello from Softhunt.net";

echo $result;
?>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Generating #Random #String #In #PHP #Using
ADD COMMENT
Topic
Name
6+3 =