Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Verify Local - secp256r1

Private Inputs

InputType
digest stateDigestState
iterationStaticArray<BlockN> or DynamicArray<BlockN>

where iteration holds the chunk to be digested

Public Output

LeftRight
Poseidon-digest of DigestStatePoseidon-digest of the next DigestState

We support all four SHA variants from the left stage, and it takes a single proof to do signature verification. Poseidon-digest of uncompressed pubkey is on the right.

Check out the explanation for EC here.

SHA variant
sha-224
sha-256✔️
sha-384
sha-512

Other SHA variants are trivial to add.