Expand description
CKB default hash function.
CKB uses blake2b with following configurations as the default hash function.
- output digest size: 32
- personalization: ckb-default-hash
Structs§
Constants§
- BLAK
E2B_ LEN - Output digest size.
- BLANK_
HASH - The hash output on empty input.
- CKB_
HASH_ PERSONALIZATION - Blake2b personalization.
Functions§
- blake2b_
256 - Hashes the slice of binary and returns the digest.
- new_
blake2b - Creates a new hasher.