package fnv
Import Path
hash/fnv (on go.dev)
Dependency Relation
imports 4 packages, and imported by 0 packages
Involved Source Files
Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions
created by Glenn Fowler, Landon Curt Noll, and Phong Vo.
See
https://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function.
All the hash.Hash implementations returned by this package also
implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to
marshal and unmarshal the internal state of the hash.
Package-Level Functions (total 6)
New128 returns a new 128-bit FNV-1 [hash.Hash].
Its Sum method will lay the value out in big-endian byte order.
New128a returns a new 128-bit FNV-1a [hash.Hash].
Its Sum method will lay the value out in big-endian byte order.
New32 returns a new 32-bit FNV-1 [hash.Hash].
Its Sum method will lay the value out in big-endian byte order.
New32a returns a new 32-bit FNV-1a [hash.Hash].
Its Sum method will lay the value out in big-endian byte order.
New64 returns a new 64-bit FNV-1 [hash.Hash].
Its Sum method will lay the value out in big-endian byte order.
New64a returns a new 64-bit FNV-1a [hash.Hash].
Its Sum method will lay the value out in big-endian byte order.
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |