PHP provides a simple function can hash in 32bits - hash( $algorithm, $key) - it will provide 8 bytes string as hash result.
$key = "Chun Kang"; echo hash("crc32b", $key);
PHP provides a simple function can hash in 32bits - hash( $algorithm, $key) - it will provide 8 bytes string as hash result.
$key = "Chun Kang"; echo hash("crc32b", $key);