Go: hash/fnv Index | Files

package fnv

import "hash/fnv"

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.

Index

Package Files

fnv.go

func New32 Uses

func New32() hash.Hash32

New32 returns a new 32-bit FNV-1 hash.Hash. Its Sum method will lay the value out in big-endian byte order.

func New32a Uses

func New32a() hash.Hash32

New32a returns a new 32-bit FNV-1a hash.Hash. Its Sum method will lay the value out in big-endian byte order.

func New64 Uses

func New64() hash.Hash64

New64 returns a new 64-bit FNV-1 hash.Hash. Its Sum method will lay the value out in big-endian byte order.

func New64a Uses

func New64a() hash.Hash64

New64a returns a new 64-bit FNV-1a hash.Hash. Its Sum method will lay the value out in big-endian byte order.

Package fnv imports 1 packages (graph) and is imported by 1220 packages. Updated 2017-05-26. Refresh now. Tools for package owners.