Enchilada128v1
A 32-byte key AEAD with an 8-byte nonce and 32-byte tag, from the Enchilada family
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 Enchilada128v1
Enchilada128v1 is an authenticated encryption (AEAD) scheme from the Enchilada-128 family. It uses a 32-byte (256-bit) key, an 8-byte nonce and a 32-byte (256-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
Enchilada-128 is an authenticated encryption candidate with a 32-byte key, an 8-byte nonce and a 32-byte tag. The 128 in its name refers to a security target that the archive does not confirm. NextSSL carries it as an unverified research design alongside its Enchilada-256 sibling.
Enchilada-128 is one of two Enchilada parameter sets in the archive. Both use a 32-byte key and an 8-byte nonce. They differ in tag length: this variant uses a 32-byte tag, while Enchilada-256 uses a 16-byte tag. The archive records no designer, standard or published analysis for the family.
The 8-byte nonce is short for a scheme that relies on random nonces. With random nonces, collisions become likely after roughly 2 to the power of 32 messages under one key, so deployments would need counter-based or otherwise managed nonces. The 32-byte tag gives a larger forgery margin than the sibling's 16-byte tag.
NextSSL treats the variant as unverified, which reflects the lack of review in the archive rather than a finding about the design.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionEnchilada-128 published by Sandy Harris
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition
How it works
- The 32-byte key and 8-byte nonce are combined to initialise the internal state.
- Associated data is absorbed, then the plaintext is processed to produce the ciphertext.
- A 32-byte tag is computed and checked in constant time before any plaintext is returned.
Security notes
Unverified: the archive records no published analysis. The 8-byte nonce requires careful nonce management in any use.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 32 | Secret key |
| nonce | 8 | Nonce / IV |
| tag | 32 | 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(32), root.random(8)
ct = root.call("aead_seal", "enchilada128v1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "enchilada128v1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("enchilada128v1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("enchilada128v1", 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, "enchilada128v1", &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.
Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Enchilada128v1?
Enchilada128v1 is an AEAD in the Enchilada-128 family. Enchilada-128 is an authenticated encryption candidate with a 32-byte key, an 8-byte nonce and a 32-byte tag.
What are the Enchilada128v1 sizes?
In NextSSL, Enchilada128v1 uses: key 32 bytes, nonce 8 bytes, tag 32 bytes.
Who designed Enchilada128v1 and when?
Enchilada128v1 belongs to the Enchilada-128 family, first published in 2014 by Sandy Harris. Its origin: CAESAR competition, round 1.
Is Enchilada128v1 safe to use?
Enchilada128v1 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).
Related families
Counter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec
AES-GCM-SIVNonce-misuse-resistant AES mode using POLYVAL and synthetic IVs (RFC 8452)
AES-SIVDeterministic authenticated encryption from CMAC-based S2V and AES-CTR (RFC 5297)
ChaCha20-Poly1305ARX stream cipher with a one-time Poly1305 MAC; fast and constant-time in software
Enchilada-256A 32-byte key AEAD with an 8-byte nonce and 16-byte tag, the shorter-tag Enchilada variant
ChaChaBernstein's ARX stream cipher; ChaCha20 secures much of today's TLS, SSH and VPN traffic