Lines Matching full:hash
5 // Package hash provides interfaces for hash functions.
6 package hash
10 // Hash is the common interface implemented by all hash functions.
11 type Hash interface {
12 // Write (via the embedded io.Writer interface) adds more data to the running hash.
16 // Sum appends the current hash to b and returns the resulting slice.
17 // It does not change the underlying hash state.
20 // Reset resets the Hash to its initial state.
26 // BlockSize returns the hash's underlying block size.
33 // Hash32 is the common interface implemented by all 32-bit hash functions.
35 Hash
39 // Hash64 is the common interface implemented by all 64-bit hash functions.
41 Hash