Xoodyak-Hash
A NIST LWC finalist using the 384-bit Xoodoo permutation in the Cyclist duplex mode
Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Xoodyak-Hash
Xoodyak-Hash is one of 2 Xoodyak variants in the NextSSL registry, a cryptographic hash function. It produces a 32-byte (256-bit) output. Its registry entry cites Xoodyak round-2 (v1) (NIST LWC). NextSSL lists it in the research tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
Xoodyak is a versatile lightweight cryptographic scheme from the Keccak team, offering hashing, MAC, AEAD and pseudo-random generation from a single duplex object. It was one of the ten NIST Lightweight Cryptography finalists.
Xoodoo is a 384-bit permutation organised as three planes of four 32-bit lanes, a smaller cousin of Keccak-f. Each of its 12 rounds applies a column-parity mixing step theta, plane shifts, a chi-like non-linear step and a round constant. Xoodyak drives Xoodoo through the Cyclist mode, which alternates absorb and squeeze calls in a duplex fashion; in hash mode the rate is 16 bytes.
NextSSL carries Xoodyak-Hash with 256-bit output as specified in the round-2 (v1) Xoodyak submission. The Xoodoo permutation was designed to give strong bounds on differential and linear trails with a small 384-bit state, and the Cyclist mode lets one object provide hashing and keyed operations. Xoodyak's hash mode is a sponge with 256-bit capacity, giving 128-bit security.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectXoodyak published by Joan Daemen, Seth Hoffert, Michaël Peeters, Gilles Van Assche, Ronny Van Keer
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 Xoodoo or Xoodyak are known. It was not chosen as the NIST standard, but it is well analysed and also used in other designs such as Farfalle-based constructions.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 32 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'research' is reachable from the root API only
digest = root.call("hash_with", "xoodyak-hash", None, b"abc")[0]
nextssl_root_hash_with("xoodyak-hash", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "xoodyak-hash", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other Xoodyak variants
1Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Xoodyak-Hash?
Xoodyak-Hash is a hash in the Xoodyak family. Xoodyak is a versatile lightweight cryptographic scheme from the Keccak team, offering hashing, MAC, AEAD and pseudo-random generation from a single duplex object.
What are the Xoodyak-Hash sizes?
In NextSSL, Xoodyak-Hash uses: output 32 bytes.
Who designed Xoodyak-Hash and when?
Xoodyak-Hash belongs to the Xoodyak family, first published in 2019 by Joan Daemen, Seth Hoffert, Michaël Peeters, Gilles Van Assche, Ronny Van Keer. Its origin: NIST Lightweight Cryptography process finalist.
Which standards define Xoodyak-Hash?
Xoodyak-Hash is referenced by Xoodyak round-2 (v1) (NIST LWC).
Is Xoodyak-Hash safe to use?
Xoodyak-Hash is in the research tier. Experimental or unclassified. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other Xoodyak variants are there?
NextSSL also registers xoodyakv1-hash in the Xoodyak family.
Related families
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
GimliCross-platform 384-bit permutation in a duplex AEAD; NIST LWC round 2
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
GimliA 384-bit permutation designed to be fast across hardware, microcontrollers and SIMD CPUs
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD