";
print "
";
print '';
$to_crc = 'Some text block';
// static
print "S::__CRC32B: $to_crc: " . $hash_class::__crc32b($to_crc) . "
";
print "S::__SHA1SHORT(off): $to_crc: " . $hash_class::__sha1short($to_crc) . "
";
print "S::__SHA1SHORT(on): $to_crc: " . $hash_class::__sha1short($to_crc, true) . "
";
print "S::__hash(d): $to_crc: " . $hash_class::__hash($to_crc) . "
";
foreach (['adler32', 'fnv132', 'fnv1a32', 'joaat'] as $__hash_c) {
print "S::__hash($__hash_c): $to_crc: " . $hash_class::__hash($to_crc, $__hash_c) . "
";
}
// static use
print "U-S::__CRC32B: $to_crc: " . Hash::__crc32b($to_crc) . "
";
// DEPRECATED
/* print "D/__CRC32B: $to_crc: ".$basic->__crc32b($to_crc)."
";
print "D/__SHA1SHORT(off): $to_crc: ".$basic->__sha1short($to_crc)."
";
print "D/__hash(d): $to_crc: ".$basic->__hash($to_crc)."
"; */
// error message
print $basic->log->printErrorMsg();
print "";
// __END__