Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DoubleHash32 ¶
DoubleHash32 satisfies the hash.Hash32 interface.
It is a double hash function that uses two hash functions to generate a hash value.
Note:
- `Sum` is a noop.
- `Size` is a noop
- `BlockSize` is a noop.
func (*DoubleHash32) BlockSize ¶
func (h *DoubleHash32) BlockSize() int
func (*DoubleHash32) Reset ¶
func (h *DoubleHash32) Reset()
func (*DoubleHash32) Size ¶
func (h *DoubleHash32) Size() int
func (*DoubleHash32) Sum ¶
func (h *DoubleHash32) Sum(b []byte) []byte
func (*DoubleHash32) Sum32 ¶
func (h *DoubleHash32) Sum32() uint32
type DoubleHash64 ¶
DoubleHash64 satisfies the hash.Hash64 interface.
It is a double hash function that uses two hash functions to generate a hash value.
Note:
- `Sum` is a noop.
- `Size` is a noop
- `BlockSize` is a noop.
func (*DoubleHash64) BlockSize ¶
func (h *DoubleHash64) BlockSize() int
func (*DoubleHash64) Reset ¶
func (h *DoubleHash64) Reset()
func (*DoubleHash64) Size ¶
func (h *DoubleHash64) Size() int
func (*DoubleHash64) Sum ¶
func (h *DoubleHash64) Sum(b []byte) []byte
func (*DoubleHash64) Sum64 ¶
func (h *DoubleHash64) Sum64() uint64
Click to show internal directories.
Click to hide internal directories.