Shellaes128v1d4n64
ShellAES-128 v1 with the d4 parameter and an 8-byte nonce, a research AES-based AEAD
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 Shellaes128v1d4n64
Shellaes128v1d4n64 is an authenticated encryption (AEAD) scheme from the ShellAES128 v1 d4 n64 family. It uses a 16-byte (128-bit) key, an 8-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
ShellAES128 v1 d4 n64 is an AES-based authenticated encryption candidate with a 16-byte key, an 8-byte nonce and a 16-byte tag. The d4 and n64 labels record a design parameter and the nonce size. NextSSL carries it as an unverified research variant in the ShellAES family.
ShellAES is a family of AES-based authenticated encryption candidates in the archive, with variants named by version, a d parameter and an n parameter. The n64 label corresponds to the 8-byte nonce, and the d4 label is a design parameter whose meaning is not recorded in the archive.
NextSSL carries shellaes128v1d4n64 with a 16-byte key, an 8-byte nonce and a 16-byte tag. The short nonce means random-nonce use is limited to modest message counts per key, so counter-based nonces are the safer approach if the scheme is ever used.
The archive records no standard, designer or public analysis for this variant. Its unverified tier means it is kept for comparison within the ShellAES family, not for production.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionShellAES128 v1 d4 n64 published by Lei Wang
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 16-byte key and 8-byte nonce initialise the AES-based state.
- Associated data and plaintext are processed with the d4 parameter setting the round or mixing structure.
- A 16-byte tag is verified before decrypted output is released.
Security notes
Unverified: no public analysis is recorded in the archive. The 8-byte nonce limits safe random-nonce use.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 8 | 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(8)
ct = root.call("aead_seal", "shellaes128v1d4n64", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "shellaes128v1d4n64", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("shellaes128v1d4n64", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("shellaes128v1d4n64", 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, "shellaes128v1d4n64", &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 Shellaes128v1d4n64?
Shellaes128v1d4n64 is an AEAD in the ShellAES128 v1 d4 n64 family. ShellAES128 v1 d4 n64 is an AES-based authenticated encryption candidate with a 16-byte key, an 8-byte nonce and a 16-byte tag.
What are the Shellaes128v1d4n64 sizes?
In NextSSL, Shellaes128v1d4n64 uses: key 16 bytes, nonce 8 bytes, tag 16 bytes.
Who designed Shellaes128v1d4n64 and when?
Shellaes128v1d4n64 belongs to the ShellAES128 v1 d4 n64 family, first published in 2014 by Lei Wang. Its origin: SHELL (CAESAR competition, round 1).
Is Shellaes128v1d4n64 safe to use?
Shellaes128v1d4n64 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
ShellAES128 v1 d4 n80ShellAES-128 v1 with the d4 parameter and a 10-byte nonce, a research AES-based AEAD
ShellAES128 v1 d5 n64ShellAES-128 v1 with the d5 parameter and an 8-byte nonce, a research AES-based AEAD
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher
AES-CTRCounter mode: turns AES into a fast, parallel stream cipher