Tinyjambu128v2
Very small keyed-permutation AEAD; NIST LWC finalist, classed broken in NextSSL
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 Tinyjambu128v2
Tinyjambu128v2 is an authenticated encryption (AEAD) scheme from the TinyJAMBU family. It uses a 16-byte (128-bit) key, a 12-byte nonce and an 8-byte (64-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
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 | 16 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 8 | 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(12)
ct = root.call("aead_seal", "tinyjambu128v2", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "tinyjambu128v2", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("tinyjambu128v2", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("tinyjambu128v2", 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, "tinyjambu128v2", &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 Tinyjambu128v2?
Tinyjambu128v2 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 Tinyjambu128v2 sizes?
In NextSSL, Tinyjambu128v2 uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.
Who designed Tinyjambu128v2 and when?
Tinyjambu128v2 belongs to the TinyJAMBU family, first published in 2019 by Hongjun Wu, Tao Huang. Its origin: NIST LWC finalist.
Is Tinyjambu128v2 safe to use?
Tinyjambu128v2 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
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