DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+3 =
Submit