TinyJAMBU-256
Very small keyed-permutation AEAD; NIST LWC finalist, classed broken in NextSSL
Practical attacks exist. Present for compatibility and research only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About TinyJAMBU-256
TinyJAMBU-256 is one of 6 TinyJAMBU variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 32-byte (256-bit) key, a 12-byte nonce and an 8-byte (64-bit) authentication tag. Its registry entry cites TinyJAMBU round-2 version (NIST LWC). NextSSL lists it in the broken tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
TinyJAMBU is a lightweight authenticated cipher that uses a 128-bit keyed permutation built from a nonlinear feedback shift register in a JAMBU-style mode. It was a finalist in the NIST Lightweight Cryptography process.
The keyed permutation updates a 128-bit state one bit at a time using a single NAND gate and XORs, giving one of the smallest hardware footprints of any finalist. The mode processes 32-bit message words, with frame bits providing domain separation between nonce, associated data, message and finalisation.
NextSSL includes the round 2 version with 128, 192 and 256-bit keys and a version 2 TinyJAMBU-128 build, all with 64-bit tags. Cryptanalysis of the keyed permutation during the process, including differential and forgery-related results on the round 1 parameters, led the designers to increase the number of rounds.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectTinyJAMBU published by Hongjun Wu, Tao Huang
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
NextSSL classifies the round 2 version as broken in light of published cryptanalysis of its keyed permutation; do not use it to protect data. Nonce reuse is not tolerated, and 64-bit tags limit forgery resistance.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 32 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 8 | Authentication tag |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'broken' is reachable from the root API only
key, nonce = root.random(32), root.random(12)
ct = root.call("aead_seal", "tinyjambu-256", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "tinyjambu-256", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("tinyjambu-256", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("tinyjambu-256", 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, "tinyjambu-256", &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 TinyJAMBU variants
5Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is TinyJAMBU-256?
TinyJAMBU-256 is an AEAD in the TinyJAMBU family. TinyJAMBU is a lightweight authenticated cipher that uses a 128-bit keyed permutation built from a nonlinear feedback shift register in a JAMBU-style mode.
What are the TinyJAMBU-256 sizes?
In NextSSL, TinyJAMBU-256 uses: key 32 bytes, nonce 12 bytes, tag 8 bytes.
Who designed TinyJAMBU-256 and when?
TinyJAMBU-256 belongs to the TinyJAMBU family, first published in 2019 by Hongjun Wu, Tao Huang. Its origin: NIST LWC finalist.
Which standards define TinyJAMBU-256?
TinyJAMBU-256 is referenced by TinyJAMBU round-2 version (NIST LWC).
Is TinyJAMBU-256 safe to use?
TinyJAMBU-256 is in the broken tier. Practical attacks exist. Present for compatibility and research only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other TinyJAMBU variants are there?
NextSSL also registers tinyjambu, tinyjambu-192, tinyjambu128, tinyjambu192v2, tinyjambu256v2 in the TinyJAMBU family.
Related families
Small-state block-cipher mode with limited nonce-misuse robustness; CAESAR round 3
AsconLightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
Grain-128AEADLFSR/NLFSR stream cipher with an integrated MAC; NIST LWC finalist
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