Documentation ¶
Overview ¶
A group of hash functions based on siphash. There are functions with no seed, with 64 bit seed and with 128 bit seed. All functions call into the siphash function with the desired output-length.
The siphash implementation for this package is:
"github.com/dchest/siphash"
Index ¶
- func Hash128(p []byte) (uint64, uint64)
- func Hash128WithSeed(p []byte, seed0 uint64) (uint64, uint64)
- func Hash128WithSeeds(p []byte, seed0, seed1 uint64) (uint64, uint64)
- func Hash64(p []byte) uint64
- func Hash64WithSeed(p []byte, seed0 uint64) uint64
- func Hash64WithSeeds(p []byte, seed0, seed1 uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash128WithSeed ¶
Note that 16-byte output is considered experimental by SipHash authors at this time.
func Hash128WithSeeds ¶
Note that 16-byte output is considered experimental by SipHash authors at this time.
func Hash64WithSeed ¶
func Hash64WithSeeds ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.