Edon-R
A quasigroup-based wide-pipe hash submitted to the first round of the SHA-3 competition
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Edon-R
Edon-R is a cryptographic hash function. It produces a 32-byte (256-bit) output. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
EDON-R is a hash function by Danilo Gligoroski and colleagues, submitted to the NIST SHA-3 competition. It is built from operations in algebraic structures called quasigroups and was among the fastest first-round candidates, but it did not advance.
EDON-R is a wide-pipe Merkle–Damgård design whose compression function is built from a quasigroup operation of order 2^256 or 2^512 implemented with additions, rotations and XORs on 32- or 64-bit words. The chaining state is twice the output length. Its speed made it attractive, but the algebraic structure of the quasigroup operation allowed attacks during the first round.
NextSSL includes EDON-R with 512-bit output and a separate EDON-R 256 entry wired from benchmarking sources. EDON-R belongs to the same research line as Blue Midnight Wish and later the GAGE lightweight hash, all built around quasigroup or ARX constructions developed by Gligoroski and colleagues. Like the other non-selected candidates, its main value today is as a reference point for understanding the designs NIST evaluated and the cryptanalysis the competition produced.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionEDON-R published by Danilo Gligoroski et al.
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-3 published as FIPS 202
NIST SHA-3 competition
Security notes
Cryptanalysis in the first round, including free-start and preimage results that exploit the quasigroup structure, contributed to EDON-R not advancing. It should be treated as a research artefact and not used for security.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 32 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "edon-r", None, b"abc")[0]
nextssl_root_hash_with("edon-r", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "edon-r", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other EDON-R variants
1Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Edon-R?
Edon-R is a hash in the EDON-R family. EDON-R is a hash function by Danilo Gligoroski and colleagues, submitted to the NIST SHA-3 competition.
What are the Edon-R sizes?
In NextSSL, Edon-R uses: output 32 bytes.
Who designed Edon-R and when?
Edon-R belongs to the EDON-R family, first published in 2008 by Danilo Gligoroski et al.. Its origin: NIST SHA-3 competition (round 1).
Is Edon-R safe to use?
Edon-R is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other EDON-R variants are there?
NextSSL also registers edonr512 in the EDON-R family.
Related families
A wide-pipe ARX hash from the SHA-3 competition that reached the second round
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2