🔢 Non-cryptographic hash to verify data integrity. 6 Commits
2023-07-22 17:02:22 +02:00
2023-07-22 17:02:22 +02:00
2023-07-23 11:40:22 +02:00
2023-07-22 17:02:22 +02:00
2023-07-23 20:58:26 +02:00
2023-07-23 11:40:22 +02:00
2023-07-22 17:02:22 +02:00
2023-07-23 21:07:52 +02:00

hash

This is a non-cryptographic hash (aka checksum) to verify data integrity.

API

sum := hash.Bytes(data)

You can use strconv.FormatUint(sum, 16) to get a string in hexadecimal format.