Answers for "Generating Random String In PHP Using Hashing Functions"

PHP
0

Generating Random String In PHP Using Hashing Functions

<?php
$str = rand();
$result = hash("sha256", $str);
echo "Hello from Softhunt.net";

echo $result;
?>
Posted by: Guest on April-10-2022
0

Generating Random String In PHP Using Hashing Functions

<?php
$str=rand();
$result = md5($str);
echo "Hello from Softhunt.net";

echo $result;
?>
Posted by: Guest on April-10-2022
0

Generating Random String In PHP Using Hashing Functions

<?php
$str=rand();
$result = sha1($str);
echo "Hello from Softhunt.net";

echo $result;
?>
Posted by: Guest on April-10-2022

Code answers related to "Generating Random String In PHP Using Hashing Functions"

Browse Popular Code Answers by Language