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

Output digest size.

The hash output on empty input.

Blake2b personalization.

Functions

Hashes the slice of binary and returns the digest.

Creates a new hasher.