Documentation ¶
Index ¶
Constants ¶
View Source
const HashSize = 32
HashSize is the size of a hash
Variables ¶
View Source
var EmptyHash [HashSize]byte
EmptyHash is the hash value for empty byte array
Functions ¶
func HashStream ¶ added in v0.2.13
HashStream hashes the given stream and returns its sha3 hash value
func VerifyHash ¶
VerifyHash verifies the hash value. At the moment, it only verifies the hash size
Types ¶
Click to show internal directories.
Click to hide internal directories.