Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hasher ¶ added in v0.13.0
type Hasher struct {
// contains filtered or unexported fields
}
Hasher implements the hash.Hash interface
func New ¶ added in v0.13.0
func New() *Hasher
New returns a new Hasher that implements the hash.Hash interface.
func (*Hasher) BlockSize ¶ added in v0.13.0
BlockSize returns the hash's underlying block size. The Write method will accept any amount of data, but it may operate more efficiently if all writes are a multiple of the block size.
func (*Hasher) Reset ¶ added in v0.13.0
func (h *Hasher) Reset()
Reset resets the Hash to its initial state.
func (*Hasher) Sum ¶ added in v0.13.0
Sum appends the current hash to b and returns the resulting slice. It does not change the underlying hash state.
type Uint128 ¶ added in v0.11.0
type Uint128 struct {
Hi, Lo uint64
}
Uint128 is a 128 bit value. The actual value can be thought of as u.Hi<<64 | u.Lo.
func HashString128 ¶ added in v0.9.0
HashString128 returns the 128-bit hash of the string slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.