16-bit hash function

Is there a hash function that returns a hexadecimal hexadecimal value (since 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

+3
source share
3 answers

Since you are prepared to live at a much higher collision rate, you can simply trim the MD5 hash of data.

+7
source

there is a library (for C ++) in which I can use MD5 or SHA-1, which returns a 16-digit value

Search for OpenSSL library crypto(free) or RSA BSAFE (paid).

+1

-, - , , , , . , - checksum .

, md5. -, md5 , , . -, md5 .

+1

Source: https://habr.com/ru/post/1736928/


All Articles