Documentation ¶
Index ¶
- func Hash(b []byte, seed uint64) uint64
- func Hash32(v uint32, s uint64) uint64
- func Hash64(v uint64, s uint64) uint64
- func HashStr(s string, seed uint64) uint64
- func NewAES(seed uint64) nhash.Hash64
- type StateAES
- func (d *StateAES) BlockSize() int
- func (d *StateAES) Hash64(b []byte, seeds ...uint64) uint64
- func (d *StateAES) HashSizeInBits() int
- func (d *StateAES) NumSeedBytes() int
- func (d *StateAES) Reset()
- func (d *StateAES) Size() int
- func (d *StateAES) Sum(b []byte) []byte
- func (d *StateAES) Sum64() uint64
- func (d *StateAES) Write(p []byte) (nn int, err error)
- func (d *StateAES) Write64(h uint64) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StateAES ¶
type StateAES struct {
// contains filtered or unexported fields
}
var ( //_ hash.Hash = new(Digest) _ nhash.Hash64 = new(StateAES) _ nhash.HashStream = new(StateAES)
)
func (*StateAES) HashSizeInBits ¶
Return the number of bits the hash function outputs.
func (*StateAES) NumSeedBytes ¶
Return the maximum number of seed bypes required. In this case 2 x 32
Click to show internal directories.
Click to hide internal directories.