SPONGENT Explained: The Tiny Hash That Fits on a Tag

SPONGENT explained in plain terms means understanding the tiny hash that fits on a tag, a family from 2011 that squeezes a sponge construction into the smallest hardware footprint ever published for a hash. The central question is why a hash would need to be tiny when computers have power to spare, and the answer is that a radio tag or a sensor has almost no chip area at all, so SPONGENT was built to guard data where nothing else fits, and that smallness is the whole point of the design.

SPONGENT is a family of lightweight hash functions designed by Andrey Bogdanov, Miroslav Knežević, Gregor Leander, Deniz Toz, Kerem Varıcı and Ingrid Verbauwhede, presented at CHES 2011. It turns a message into a digest by soaking it into a sponge built from a PRESENT-type permutation, and it is built on the idea that a hash should use the simplest possible round function, which means the design keeps its logic close to the theoretical minimum, and that minimalism is what makes it unlike the hashes of its era.

This article makes the case for SPONGENT, explains what it is, how it works, and where its ideas still earn their keep.

Key takeaways

  • SPONGENT is a hash family from 2011, presented at CHES.
  • It offers digests of 88, 128, 160, 224 and 256 bits.
  • It is built on a sponge with a PRESENT-type permutation.
  • Its smallest version needs only 738 gate equivalents.
  • It is used in teaching and in tiny-chip research today.

What SPONGENT is

SPONGENT is a hash that turns a message into a fingerprint with a sponge, and that sponge is what makes it unusual among lightweight hashes. A sponge absorbs the message a little at a time and then squeezes out the digest, which means the same permutation serves both halves of the job, and because the design needs no key schedule and no feed-forward, the circuit stays tiny.

Its signature feature is the PRESENT-type permutation. Most hashes use a complex round function, but SPONGENT uses a simple one built from a 4-bit S-box and a bit permutation, which means each round costs almost nothing in logic, and because the rounds are so cheap, the design can afford many of them.

The design was a reaction to the lack of lightweight hashes. Block ciphers had been shrunk for years, but hash functions had barely been touched, so Bogdanov and his colleagues explored the whole design space, because a tag that cannot hash cannot authenticate, and that practicality is what made SPONGENT worth publishing.

It became one of the best-known lightweight hashes in the world, and it is named in every discussion of the field. SPONGENT offers thirteen variants for different sizes and security levels, it was built to beat the footprint of every earlier dedicated hash, and it is still the first example students meet when they learn that a hash can be small, which means the design survives as a lesson even though it was never standardised.

Its most famous property is its area of 738 gate equivalents. The smallest version, SPONGENT-88, fits in less logic than almost any hash ever published, which means it can guard a radio tag that has almost no chip to spare, and because that number was measured openly, the claim has never been in doubt.

Our guide to SHA-3 explains the sponge hash that became the standard, and our guide to Grøstl explains the other sponge-based finalist of the SHA-3 competition.

How SPONGENT works

Everything starts with the state, a small register that holds the sponge. SPONGENT sets its state to zero before reading any input, which means the empty message still has a well-defined digest, and because the state is tiny, the design has very little room to waste.

Each step begins with absorption, which xors the next piece of the message into the state. SPONGENT takes a few bits at a time and folds them into the rate part of the state, which means the message enters slowly, and because the rate is small, the design needs many steps for a long message.

The permutation is what makes the design work as a whole. After each absorption, SPONGENT runs the state through its PRESENT-type permutation, which applies the S-box layer and then permutes the bits, which means the new data spreads across the whole state, and because the permutation repeats, the mixing builds up as data flows in.

The rounds spread the effect further. SPONGENT-88 runs 45 rounds of its permutation at every step, which means the state is stirred thoroughly before the next piece arrives, and because the rounds are cheap, the design can afford to run so many of them.

The squeezing is what turns the state into a digest. After the last piece, SPONGENT reads the digest out of the state a few bits at a time, running the permutation between reads, which means the result is a fixed size whatever the input, and because the squeezing uses the same permutation, the design needs no extra machinery.

The digest comes from the final state, read out as 88 to 256 bits. SPONGENT outputs as many bits as its variant promises, which means the result fits whatever field needs it, and that range of sizes is exactly what tiny devices need for their integrity fields.

A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it
A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it, shows how SPONGENT works: message bits take turns being absorbed into the sponge, bit after bit, until a digest emerges.

Comparing SPONGENT with other lightweight hashes

SPONGENT is one of several lightweight hashes built for tiny chips, and each was built with a different emphasis. SHA-3 is the sponge hash that became the standard, Grøstl is the other sponge finalist with a wide state, and SPONGENT is the one built for the smallest possible area, while each approach trades something for something else.

The table below sets out the main contrasts between the leading approaches.

Aspect SPONGENT SHA-3 Grøstl
Digest sizes 88 to 256 bits 224 to 512 bits 224 to 512 bits
Construction Sponge, PRESENT-type Sponge, Keccak-f Sponge, AES-like
Smallest area 738 gate equivalents Thousands of gates Thousands of gates
Year 2011 2008 2008
Best for Tiniest chips and tags General hashing Wide-state hashing

The practical result is that SPONGENT is the right choice for tiniest chips and tags, SHA-3 suits general hashing, and Grøstl fits wide-state hashing instead.

Where SPONGENT is used

Teaching uses it as the lightweight hash example. Courses introduce SPONGENT when they explain that a hash can be built for almost no logic, because it is the clearest case of the idea in a real design, and a student who understands SPONGENT understands why gate count matters.

Research uses it as a case study in sponge design. Engineers still cite SPONGENT when they discuss how small a sponge can be, because it is the clearest example of the idea in a real family, and that lesson shapes how new lightweight hashes are judged today.

Radio tags use it as a benchmark for what fits. A tag designer who needs a hash checks SPONGENT first, because its area figures are the standard of comparison, and that benchmark is the reason the family is still cited in every new lightweight proposal.

Hardware research uses it to study minimal rounds. Designers still point to SPONGENT when they discuss how simple a round function can be, because it is the clearest example of the goal in a real hash, and that aim shapes how hardware hashes are built today.

History uses it to tell the story of lightweight hashing. The years around 2011 produced Quark, PHOTON and SPONGENT together, and SPONGENT is remembered wherever that story is told, which means it survives as history as well as a working design.

Strengths and limits

The greatest strength of SPONGENT is its area. A hash that fits in 738 gate equivalents guards devices that nothing else can guard, and that strength is real, measured in published ASIC figures and confirmed by the designers who compared it against every rival.

It is also a strength that the design is simple to explain. A sponge with a PRESENT-type permutation is easy to describe, and that simplicity is worth more than cleverness in a field where a hash nobody can audit is a hash nobody trusts.

The limits are real, though, and the biggest is speed. A tiny rate means SPONGENT absorbs data slowly, which means it must never guard a fast data stream, and a system that needs throughput must use a wider sponge instead.

SPONGENT checklist

  • Use SPONGENT for study and tiny chips, never for fast streams.
  • Remember it offers thirteen variants from 88 to 256 bits.
  • Note the smallest version needs only 738 gate equivalents.
  • Compare it with SHA-3 to see two kinds of sponge.
  • Study the PRESENT-type permutation, which is what keeps it small.
  • Check the rate, which is what limits its speed.
  • Keep real digests behind standard hashes for signatures.
  • Read the 2011 paper to see how the family was built.
  • Choose a wider hash when throughput matters more than area.

Frequently asked questions

What is SPONGENT in simple terms?

It is a 2011 family of lightweight hash functions that soaks a message into a tiny sponge and squeezes out a digest of 88 to 256 bits.

Who designed SPONGENT?

Andrey Bogdanov, Miroslav Knežević, Gregor Leander, Deniz Toz, Kerem Varıcı and Ingrid Verbauwhede, who presented it at CHES 2011.

How is SPONGENT different from SHA-3?

Both are sponge hashes, but SPONGENT uses a tiny PRESENT-type permutation for minimal area while SHA-3 uses the wide Keccak permutation.

Is SPONGENT still secure?

It was designed with conservative margins and no practical break is known, though it is mainly a subject for study and tiny hardware.

Where is SPONGENT used?

In teaching, in lightweight research, as a benchmark for radio tags, and in the history of sponge hashing.

When should I use SPONGENT?

When you study lightweight hashes, when you design for a radio tag, or when you want the smallest hash ever published.

The bottom line

SPONGENT explained in one line is this: the tiny sponge hash, a 2011 family that fit a hash into 738 gates and taught the field that smallness is a design goal of its own.

It is proof that a hash can be both small and serious, and the reason it still matters is that every lightweight hash designed since has been judged partly by the lesson SPONGENT taught.

This article is general information about how SPONGENT works, not advice about choosing encryption for a particular device or system.

Latest articles

Scroll to Top