PHP
Chilkat2 PHP
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat PHP Downloads
<?php
use Chilkat2\SecureString;
$str = new SecureString();
$str->MaintainHash = 'sha256';
$str->Append('Hello World');
$encodedHash = $str->HashVal('base64');
echo $encodedHash, "\n";