Calculate Adler-32 Checksum using PHP

hash function

<?php

$text = 'Hello';
$checksum =  hexdec(hash('adler32', $text));

echo $checksum;

Leave a Comment

Cancel reply

Your email address will not be published.