Xoodyakv1
Cyclist-mode AEAD and hash on the Xoodoo permutation; NIST LWC finalist
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 Xoodyakv1
Xoodyakv1 is one of 2 Xoodyak variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 16-byte nonce and a 16-byte (128-bit) authentication tag. 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
Xoodyak is a versatile cryptographic scheme from the Keccak team, using the 384-bit Xoodoo permutation in the Cyclist mode to provide hashing, keyed encryption and authenticated encryption. It was a finalist in the NIST Lightweight Cryptography process.
Xoodoo arranges its 384-bit state as three planes of four 32-bit lanes, with a round function in the style of Keccak-p. Cyclist is a duplex-like mode that runs in hash or keyed mode and supports sessions with several messages, ratcheting and arbitrary-length tags.
NextSSL includes the round 2 (v1) Xoodyak build and the round 3 (finalist) build. The round 3 build reflects the finalist specification. Xoodoo is also the permutation behind the Xoofff deck function, and its design builds directly on the experience of Keccak, so a large body of cryptanalysis applies to it.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectXoodyak 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
Requires unique nonces for confidentiality. Xoodoo has been analysed extensively, and no attack threatens the full permutation as used.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 16 | Nonce / IV |
| tag | 16 | Authentication tag |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
key, nonce = root.random(16), root.random(16)
ct = root.call("aead_seal", "xoodyakv1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "xoodyakv1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("xoodyakv1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("xoodyakv1", NULL, key, nonce, aad, ct, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_aead_in(reg::all(), Policy::Any, "xoodyakv1", &Params::new())?;
let ct = alg.seal(&key, &nonce, b"header", b"secret")?;
let pt = alg.open(&key, &nonce, b"header", &ct)?;
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 authenticated encryption
All 392Frequently asked questions
What is Xoodyakv1?
Xoodyakv1 is an AEAD in the Xoodyak family. Xoodyak is a versatile cryptographic scheme from the Keccak team, using the 384-bit Xoodoo permutation in the Cyclist mode to provide hashing, keyed encryption and authenticated encryption.
What are the Xoodyakv1 sizes?
In NextSSL, Xoodyakv1 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Xoodyakv1 and when?
Xoodyakv1 belongs to the Xoodyak family, first published in 2019 by Joan Daemen, Seth Hoffert, Silvia Mella, Michaël Peeters, Gilles Van Assche, Ronny Van Keer. Its origin: NIST LWC finalist.
Is Xoodyakv1 safe to use?
Xoodyakv1 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 Xoodyak variants are there?
NextSSL also registers xoodyak in the Xoodyak family.
Related families
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
KetjeLightweight MonkeyWrap AEAD on reduced-round Keccak-p; CAESAR round 3
KeyakParallelisable Motorist-mode AEAD on 12-round Keccak-p; CAESAR round 3
Schwaemm (SPARKLE)ARX permutation-based AEAD from the SPARKLE suite; NIST LWC finalist
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
SPARKLE (Esch)A NIST LWC finalist family whose Esch hash uses the ARX-based SPARKLE permutation