Knot128v2
A 128-bit permutation-based AEAD from the KNOT family, submitted to NIST lightweight cryptography
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 Knot128v2
Knot128v2 is an authenticated encryption (AEAD) scheme from the KNOT-128 family. 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
KNOT-128 is a 128-bit authenticated encryption design from the KNOT family, built on a sponge-style construction over a lightweight permutation. It was submitted to the NIST Lightweight Cryptography process. NextSSL carries the v2 specification with 16-byte key, nonce and tag sizes.
KNOT is a family of lightweight permutation-based designs, including hashing and authenticated encryption, submitted to the NIST Lightweight Cryptography process. The AEAD uses a sponge-style construction over a permutation built from small nonlinear and linear layers, a structure chosen to keep area and energy low.
NextSSL carries knot128v2 with a 16-byte key, a 16-byte nonce and a 16-byte tag, which matches a 128-bit security target. The siblings KNOT-192 and KNOT-256 use longer keys, nonces and tags with the same design approach.
The unverified tier is the archive's own review status for this entry. Check the current NIST status and any later analysis before relying on the scheme in a project.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectKNOT-128 published by Wentao Zhang et al.
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
How it works
- The key and nonce are absorbed into the permutation state.
- Associated data and plaintext are processed block by block, with the permutation applied between blocks.
- A 16-byte tag is squeezed from the state and checked before decryption output is released.
Security notes
Unverified in NextSSL. Reduced-round cryptanalysis is common for designs of this type, so treat the full-round scheme as research material rather than a settled choice.
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", "knot128v2", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "knot128v2", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("knot128v2", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("knot128v2", 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, "knot128v2", &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 Knot128v2?
Knot128v2 is an AEAD in the KNOT-128 family. KNOT-128 is a 128-bit authenticated encryption design from the KNOT family, built on a sponge-style construction over a lightweight permutation.
What are the Knot128v2 sizes?
In NextSSL, Knot128v2 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Knot128v2 and when?
Knot128v2 belongs to the KNOT-128 family, first published in 2019 by Wentao Zhang et al.. Its origin: NIST Lightweight Cryptography, round 2.
Is Knot128v2 safe to use?
Knot128v2 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
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
AsconLightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
ISAPLeakage-resilient permutation-based AEAD designed against DPA; NIST LWC finalist
KNOT-192The 192-bit member of the KNOT permutation-based AEAD family, with 24-byte key and nonce
KNOT-256The 256-bit member of the KNOT permutation-based AEAD family, with 32-byte key, nonce and tag
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD