Documentation ¶
Index ¶
Constants ¶
View Source
const HASH_LENGTH = 32
Variables ¶
View Source
var EmptyHash = Hash("")
EmptyHash - hash of an empty string
View Source
var EmptyHashBytes = RawHash("")
EmptyHashBytes - hash bytes of an empty string
View Source
var ErrInvalidHash = common.NewError("invalid_hash", "Invalid hash")
ErrInvalidHash - hash is invalid error
Functions ¶
Types ¶
type HashBytes ¶
type HashBytes [HASH_LENGTH]byte
Click to show internal directories.
Click to hide internal directories.