Versions in this module Expand all Collapse all v0 v0.2.0 Aug 15, 2026 Changes in this version + func Adler32(data []byte) uint32 + func CRC16(data []byte) uint16 + func CRC16CCITT(data []byte) uint16 + func CRC16Hex(data []byte) string + func CRC32(data []byte) uint32 + func CRC32Hex(data []byte) string + func CRC64(data []byte) uint64 + func CRC64Hex(data []byte) string + func FNV1a32(data []byte) uint32 + func FNV1a64(data []byte) uint64 + func HMACEqual(a, b []byte) bool + func HMACSHA256(data, key []byte) []byte + func HMACSHA256Hex(data, key []byte) string + func HMACSHA512(data, key []byte) []byte + func HMACSHA512Hex(data, key []byte) string + func Hex(ht HashType, data []byte) (string, error) + func HexUpper(ht HashType, data []byte) (string, error) + func MD5(data []byte) []byte + func MD5File(path string) ([]byte, error) + func MD5FileHex(path string) (string, error) + func MD5Hex(data []byte) string + func MD5Reader(r io.Reader) ([]byte, error) + func MD5String(s string) string + func Murmur3_128(data []byte, seed uint32) (uint64, uint64) + func Murmur3_128Hex(data []byte, seed uint32) string + func Murmur3_32(data []byte, seed uint32) uint32 + func Murmur3_32Hex(data []byte, seed uint32) string + func SHA1(data []byte) []byte + func SHA1Hex(data []byte) string + func SHA1String(s string) string + func SHA256(data []byte) []byte + func SHA256File(path string) ([]byte, error) + func SHA256FileHex(path string) (string, error) + func SHA256Hex(data []byte) string + func SHA256Reader(r io.Reader) ([]byte, error) + func SHA256String(s string) string + func SHA512(data []byte) []byte + func SHA512Hex(data []byte) string + func SHA512String(s string) string + func XXHash32(data []byte, seed uint32) uint32 + func XXHash32Hex(data []byte, seed uint32) string + func XXHash64(data []byte, seed uint64) uint64 + func XXHash64Hex(data []byte, seed uint64) string + type HashType string + const HashMD5 + const HashSHA1 + const HashSHA256 + const HashSHA512