in reply to Re: xxHash Base64
in thread xxHash Base64
Or if you're not using a 64-bit perl,
encode_base64( pack('H*', xxhash64_hex($data, 0)) );Note that xxhash is not preimage-resistant, so comparing it to cryptographic hashes like MD5 and SHA1 is highly misleading.
|
|---|