Generate SHA-256 Hash using PHP

hash function

<?php

$text = 'Hello';
$digest = hash('sha256', $text);

echo $digest;

Leave a Comment

Cancel reply

Your email address will not be published.