Documentation ¶ Index ¶ Constants func VerifyHash(hash []byte) error type Keccak func NewKeccak() Keccak Constants ¶ View Source const HashSize = 32 HashSize is the size of a hash Variables ¶ This section is empty. Functions ¶ func VerifyHash ¶ func VerifyHash(hash []byte) error VerifyHash verifies the hash size Types ¶ type Keccak ¶ type Keccak interface { hash.Hash Read([]byte) (int, error) } Keccak wraps sha3.state. In addition to the usual hash methods, it also supports Read to get a variable amount of data from the hash state. Read is faster than Sum because it doesn't copy the internal state, but also modifies the internal state. func NewKeccak ¶ func NewKeccak() Keccak NewKeccak creates a new SHA3 Keccak hasher Source Files ¶ View all Source files hasher.go Click to show internal directories. Click to hide internal directories.