Documentation ¶
Index ¶
Constants ¶
View Source
const ( Keccak = "keccak" Md5 = "md5" Sha256 = "sha256" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keccak256Hasher ¶
type Keccak256Hasher struct{}
func (*Keccak256Hasher) Hash ¶
func (k *Keccak256Hasher) Hash(data ...[]byte) []byte
type Sha256Hasher ¶
type Sha256Hasher struct{}
func (*Sha256Hasher) Hash ¶
func (m *Sha256Hasher) Hash(data ...[]byte) []byte
Click to show internal directories.
Click to hide internal directories.