Skip to main content

Module sha256

Module sha256 

Source
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ยง

Sha256Compression
A two-to-one compression function for SHA-256 digests.
Sha256HashSuite
SHA-256 leaves and a SHA-256 compression function for inner nodes.