Knot256
The 256-bit member of the KNOT permutation-based AEAD family, with 32-byte key, nonce and tag
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 Knot256
Knot256 is an authenticated encryption (AEAD) scheme from the KNOT-256 family. It uses a 32-byte (256-bit) key, a 32-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
KNOT-256 is the largest parameter set in the KNOT family of lightweight authenticated encryption designs. It uses a 32-byte key, a 32-byte nonce and a 32-byte tag. NextSSL carries it as an unverified research variant.
KNOT-256 applies the KNOT permutation-based approach at the largest of the family's parameter sets. Its larger state and longer keys and tags give the most conservative margin among the three KNOT entries in the archive.
The 32-byte key, nonce and tag are the largest sizes in the family. A 256-bit key keeps the strength against Grover's quantum key search near 128 bits, but the message overhead and state size are larger, which makes it less suited to very small devices than KNOT-128.
NextSSL records the variant as unverified because the archive has not reviewed it. Check the current literature before any use outside research.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectKNOT-256 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 32-byte key and 32-byte nonce are absorbed into the permutation state.
- Associated data and plaintext are processed in blocks, with the permutation applied between them.
- A 32-byte tag is produced and verified in constant time before decrypted output is released.
Security notes
Unverified in NextSSL. Reduced-round analysis of this design type is common, so the full-round scheme should be treated as research material.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 32 | Secret key |
| nonce | 32 | 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(32)
ct = root.call("aead_seal", "knot256", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "knot256", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("knot256", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("knot256", 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, "knot256", &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 Knot256?
Knot256 is an AEAD in the KNOT-256 family. KNOT-256 is the largest parameter set in the KNOT family of lightweight authenticated encryption designs.
What are the Knot256 sizes?
In NextSSL, Knot256 uses: key 32 bytes, nonce 32 bytes, tag 32 bytes.
Who designed Knot256 and when?
Knot256 belongs to the KNOT-256 family, first published in 2019 by Wentao Zhang et al.. Its origin: NIST Lightweight Cryptography, round 2.
Is Knot256 safe to use?
Knot256 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)
ISAPLeakage-resilient permutation-based AEAD designed against DPA; NIST LWC finalist
KNOT-128A 128-bit permutation-based AEAD from the KNOT family, submitted to NIST lightweight cryptography
KNOT-192The 192-bit member of the KNOT permutation-based AEAD family, with 24-byte key and nonce
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2