SHA256 in PHP sample Program

SHA256:
SHA256 is also like md5 to generate the hash key to store and pass the secured informations.

SHA256 in PHP sample Program:

<?php
$input = 'Javadomain.in';
$md5_value = hash('SHA256',$input);
echo $md5_value;
?>

Output:

be7835a987c2e8d7ce0b97182944a11644644c8db01e32c6659f8989f5d1fca6

315 total views, 1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *