Documentation ¶
Overview ¶
Package seahash implements SeaHash, a non-cryptographic hash function created by http://ticki.github.io.
Index ¶
Examples ¶
Constants ¶
View Source
const BlockSize = 8
BlockSize of SeaHash in bytes.
View Source
const Size = 8
Size of a SeaHash checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new SeaHash hash.Hash64
Example ¶
// hash some bytes h := New() h.Write([]byte("to be or not to be")) hash := h.Sum64() fmt.Printf("%x", hash)
Output: 1b993a826f4ae575
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.