Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Murmur32Hasher ¶
type Murmur32Hasher struct {
// contains filtered or unexported fields
}
Murmur32Hasher is a hash function implementing the murmur3 32 bits algorithm
func NewMurmur332Hasher ¶
func NewMurmur332Hasher(seed uint32) *Murmur32Hasher
NewMurmur332Hasher returns a new instance of the Murmur32Hasher
func (*Murmur32Hasher) Hash ¶
func (h *Murmur32Hasher) Hash(data []byte) uint32
Hash returns the murmur3 (32 bits) hash of a byte slice.
Click to show internal directories.
Click to hide internal directories.