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]
<?php
$input = ‘Javadomain.in’;
$md5_value = hash(‘SHA256’,$input);
echo $md5_value;
?>
[/php]

Output:

be7835a987c2e8d7ce0b97182944a11644644c8db01e32c6659f8989f5d1fca6

Leave a Reply