Edon-R Explained: 5 Facts About the Quasigroup Hash

Edon-R explained in plain terms means understanding the hash that tried to win SHA-3 with algebra instead of bit tricks, a design from 2008 that hashes with quasigroups, strange multiplication tables with no fixed rules. The central question is why a hash would build on such exotic maths when ordinary designs already work, and the answer is that quasigroup operations mix bits in ways no shift or xor can copy, so Edon-R gave the SHA-3 race its fastest entry, and that speed is the whole point of the design.

Edon-R is a cryptographic hash function created by Danilo Gligoroski and colleagues at the Norwegian University of Science and Technology, submitted as a candidate for the NIST SHA-3 competition. It turns a message into a 224-bit, 256-bit, 384-bit or 512-bit digest through a double-piped compression function built on quasigroups, and it is built on the idea that a hash should be fast above all, which means the design was measured as the fastest entry in the race, and that speed is what makes it unlike the hashes of its era.

This article gives you five facts about Edon-R, explains what it is, how it works, and why it still matters.

Key takeaways

  • Edon-R is a SHA-3 candidate from 2008, by Gligoroski and colleagues.
  • It is built on quasigroups, not on shifts and xors.
  • It outputs 224, 256, 384 or 512 bits.
  • It was the fastest hash submitted to the SHA-3 race.
  • It did not reach the second round of the competition.

What Edon-R is

The first fact is that Edon-R is a quasigroup hash, which means it hashes with algebraic tables instead of bit operations. A normal hash mixes with shifts, xors and adds, but Edon-R mixes with quasigroup operations, which means the mixing follows rules from abstract algebra, and because the tables are large, the result is hard to predict.

The second fact is that it is a double-piped design. Edon-R keeps two parallel chains of state as it absorbs the message, which means the compression function has twice the room of a single pipe, and because the pipes feed each other, an attacker must break both at once.

The third fact is that it comes in four sizes. Edon-R outputs 224, 256, 384 or 512 bits, which means the family covers both tight budgets and stronger needs, and because the sizes share one design, the choice is just a matter of how much digest the job needs.

The fourth fact is that it was the fastest SHA-3 entry. Edon-R ran at 5.77 cycles per byte for its 256-bit version and 3.15 for its 512-bit version on a Core 2 Duo, which means it beat every other submission on speed, and because that number was measured openly, the claim has never been in doubt.

The fifth fact is that it did not survive the competition, and it never pretended otherwise. Edon-R was tweaked into Edon-R prime in 2009 and still did not reach the second round, which means it is now a lesson rather than a standard, and that honesty is the reason it is the first example engineers meet when they learn that speed alone does not win a standard.

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

How Edon-R works

Everything starts with the message, which is cut into blocks. Edon-R takes its input and splits it into pieces for the compression function, which means the starting state depends on the message, and because the split is fixed, the same input always gives the same digest.

Each step begins with the quasigroup operation, which mixes state and message. Edon-R takes a state value and a message word and combines them through its quasigroup table, which means fresh data arrives at every step, and because the table is non-commutative, the order of the inputs matters.

The double pipe is what makes the design work as a whole. Two chains of state run side by side and exchange values as the blocks are consumed, which means the digest depends on the whole message twice over, and because the pipes are linked, a change in one block spreads through both.

The compression spreads the effect further. After each block, Edon-R feeds the pipe outputs back into the next round, which means the value is scrambled thoroughly, and because the quasigroup operation is applied many times, a small change in the message changes the whole digest.

The tweak added feedback to the original design. Edon-R prime xors the output of the compression function with the previous double-pipe value and the current message block, which means the state carries more history, and because the feedback was added to block freestart attacks, the tweak made the design harder to attack.

The digest comes from the final pipes, read out as 224, 256, 384 or 512 bits. Edon-R outputs the combined state directly as the fingerprint, which means the result is a fixed size whatever the input, and that size is exactly what a signature or a checksum needs for its digest.

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 Edon-R works: blocks take turns passing through the quasigroup tables, round after round, until a digest emerges.

Comparing Edon-R with other SHA-3 candidates

Edon-R is one of several hashes built for the SHA-3 race, and each was built with a different emphasis. SHA-3 is the sponge hash that won the standard, Grøstl is the other sponge finalist with a wide state, and Edon-R is the one built on quasigroups for speed, while each approach trades something for something else.

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

Aspect Edon-R SHA-3 Grøstl
Output size 224 to 512 bits 224 to 512 bits 224 to 512 bits
Construction Quasigroup, double pipe Sponge, Keccak-f Sponge, AES-like
Year 2008 2008 2008
Competition result Did not reach round 2 Winner Finalist
Best for Fast hashing research General hashing Wide-state hashing

The practical result is that Edon-R is the right choice for fast hashing research, SHA-3 suits general hashing, and Grøstl fits wide-state hashing instead.

Where Edon-R is used

Research uses it as the quasigroup example. Papers still cite Edon-R when they discuss hash functions built on algebra, because it is the clearest example of the idea in a real submission, and that citation is the reason the design survives in the literature.

Teaching uses it as the speed-versus-security example. Courses introduce Edon-R when they explain that the fastest hash does not always win, because it is the clearest case of the lesson in a real competition, and a student who understands Edon-R understands why standards need more than speed.

Cryptanalysis uses it as a target for quasigroup attacks. Researchers studied its compression function to test whether quasigroups resist analysis, because the design was the first serious quasigroup hash, and that scrutiny is the reason its weaknesses are well understood today.

Benchmarking uses it as a speed reference. Engineers still quote Edon-R when they discuss how fast a hash can run, because it is the clearest example of algebra paying off, and that number shapes how new hashes are measured.

History uses it to tell the story of the SHA-3 race. The competition ran from 2008 to 2012 and ended with Keccak, and Edon-R 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 Edon-R is its speed. A hash that runs at under six cycles per byte gives programs faster digests for free, and that strength is real, measured in the competition’s own benchmarks and confirmed by the researchers who tested it.

It is also a strength that the design is genuinely different. A hash built on quasigroups explores ground no other design touched, and that novelty is worth more than cleverness in a field where a hash that copies the last winner is a hash nobody learns from.

The limits are real, though, and the biggest is the cryptanalysis. Preimage attacks were found against Edon-R, which means the full design has a smaller margin than a standard needs, and a system that must use a standard hash must use SHA-3 instead.

Edon-R checklist

  • Use Edon-R for study, never for new security.
  • Remember it outputs 224, 256, 384 or 512 bits.
  • Note it is built on quasigroups, not on bit operations.
  • Compare it with SHA-3 to see two kinds of competition design.
  • Study the double pipe, which is what carries the state.
  • Check the tweak, since Edon-R prime added feedback.
  • Keep real secrets behind standard hashes for signatures.
  • Read the 2009 paper to see how the tweak was built.
  • Choose SHA-3 when a standard hash is required.

Frequently asked questions

What is Edon-R in simple terms?

It is a 2008 hash that turns any input into a 224-bit to 512-bit digest using quasigroup tables in a double-piped design.

Who designed Edon-R?

Danilo Gligoroski and colleagues at the Norwegian University of Science and Technology, who submitted it to the SHA-3 competition.

How is Edon-R different from SHA-3?

Both were SHA-3 candidates, but Edon-R hashes with quasigroup algebra while SHA-3 hashes with a Keccak sponge.

Is Edon-R still secure?

It was the fastest submission, but preimage attacks were found, so it is mainly a subject for study and research.

Where is Edon-R used?

In research, in teaching about the SHA-3 race, in cryptanalysis, in benchmarking, and in the history of hash design.

When should I use Edon-R?

When you study quasigroup hashing, when you research the SHA-3 competition, or when you want the fastest entry ever submitted.

The bottom line

Edon-R explained in one line is this: the quasigroup hash, a 2008 design of double pipes and algebra tables that raced to be the fastest SHA-3 entry and taught the field that speed alone does not win.

It is proof that algebra can hash, and the reason it still matters is that every fast hash designed since has been judged partly by the lesson Edon-R taught.

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

Latest articles

Scroll to Top