Is there a hash function that returns a 16-digit hex value (as MD5 returns 32-digit), or is there a library (for C++) in which I can use MD5 or SHA-1 which returns a 16-digit value
Since you're willing to live with the much-higher collision rate, you can just truncate the MD5 hash of the data.
is there a library (for C++) in which I can use MD5 or SHA-1 which returns a 16-digit value
Lookup the OpenSSL crypto library (free) or RSA BSAFE (paid).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With