Available on crate feature unstable only.
Expand description

The SHA-256 hash function.

Structs

A word in a Table16 message block.

A gadget that constrains a SHA-256 invocation. It supports input at a granularity of 32 bits.

The output of a SHA-256 circuit invocation.

A chip that implements SHA-256 with a maximum lookup table size of $2^16$.

Configuration for a Table16Chip.

Constants

The size of a SHA-256 block, in 32-bit words.

Traits

The set of circuit instructions required to use the Sha256 gadget.