Module hash

Source
Expand description

Hash types.

Structs§

Blake2b256
$name
Blake2b512
$name
Blake2s128
$name
Blake2s256
$name
BuildCidHasher
A hasher builder for cid hasher.
CidHasher
A hasher that avoids rehashing cids by using the fact that they already contain a hash.
Identity
$name
Keccak224
$name
Keccak256
$name
Keccak384
$name
Keccak512
$name
Sha1
$name
Sha2_256
$name
Sha2_512
$name
Sha3_224
$name
Sha3_256
$name
Sha3_384
$name
Sha3_512
$name

Traits§

Hash
Trait for hash type markers.

Functions§

digest
Compute digest of bytes.

Type Aliases§

CidHashMap
A HashMap for Cid’s
CidHashSet
A HashSet for Cid’s