Saturnin-Hash
A 256-bit block cipher suite designed for post-quantum security margins on small devices
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 Saturnin-Hash
Saturnin-Hash is one of 2 Saturnin variants in the NextSSL registry, 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
Saturnin is a lightweight cryptographic suite built on a 256-bit block cipher with a 256-bit key, submitted to the NIST Lightweight Cryptography process. It aimed to keep 128-bit security even against quantum adversaries and reached the second round.
The Saturnin block cipher arranges its 256-bit state as a 4x4x4 cube of 4-bit nibbles. Each round applies a 4-bit S-box layer, a nibble permutation and a linear MDS layer applied along alternating dimensions, in a design that borrows from AES and from bit-sliced ciphers. Super-rounds pair two rounds with different orientations.
Saturnin-Hash uses the block cipher in an MMO (Matyas–Meyer–Oseas) construction to produce a 256-bit digest. NextSSL includes a saturnin-hash entry wired from source and not yet verified. Its 256-bit block makes it unusual among lightweight designs, which typically use 64- or 128-bit states. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectSaturnin published
56 round-1 candidates accepted; 32 advance to round 2 in August
NIST Lightweight Cryptography projectTen finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon published in NIST SP 800-232
NIST Lightweight Cryptography project
Security notes
No practical attacks on full Saturnin are known. It did not advance to the NIST finalists, and this entry is unverified, so it is for research only.
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", "saturnin-hash", None, b"abc")[0]
nextssl_root_hash_with("saturnin-hash", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "saturnin-hash", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other Saturnin variants
1Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Saturnin-Hash?
Saturnin-Hash is a hash in the Saturnin family. Saturnin is a lightweight cryptographic suite built on a 256-bit block cipher with a 256-bit key, submitted to the NIST Lightweight Cryptography process.
What are the Saturnin-Hash sizes?
In NextSSL, Saturnin-Hash uses: output 32 bytes.
Who designed Saturnin-Hash and when?
Saturnin-Hash belongs to the Saturnin family, first published in 2019 by Anne Canteaut, Sébastien Duval, Gaëtan Leurent, María Naya-Plasencia, Léo Perrin, Thomas Pornin, André Schrottenloher. Its origin: NIST Lightweight Cryptography process (round 2).
Is Saturnin-Hash safe to use?
Saturnin-Hash 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 Saturnin variants are there?
NextSSL also registers saturninhashv2 in the Saturnin family.
Related families
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD