liveBook · Manning

Sponge construction

As explained in Real-World Cryptography

A sponge construction repeatedly applies a permutation while absorbing input through a rate portion of its state and producing output through that portion.

A sponge construction turns a fixed permutation into a hash-like process. It divides the permutation state into a rate and a capacity, absorbs input through the rate, and later squeezes output from it. section 2.5.2

A small sponge

With an 8-bit permutation and a 5-bit rate, absorbing 00101 means XORing those five bits into a rate initialized to zero, then permuting the complete state.

How Real-World Cryptography covers it

How deep it goes
Works through rate-capacity division, single-block absorption, repeated absorption, and digest extraction, but defers keccak-f design.
Examples
Uses an 8-bit permutation, a 5-bit rate, input 00101, and diagrams of absorption and digest extraction.
What it assumes
Requires only a basic understanding of permutations and XOR, while introducing rate and capacity through small examples.
What you can do after
Evaluate and understand how a sponge absorbs input and produces variable-length output from a permutation.
How it connects
Connects permutations, XOR, hash functions, SHA-3, keccak-f, and Merkle–Damgård.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.