Expand description
SHA-256 leaf hash and two-to-one compression for Merkle tree constructions.
One block compression per node, straight through the reference implementation. The batched kernels a prover wants live in the prover-side crate, not here.
Structsยง
- Sha256
Compression - A two-to-one compression function for SHA-256 digests.
- Sha256
Hash Suite - SHA-256 leaves and a SHA-256 compression function for inner nodes.