Knot-Hash-512-512
A NIST LWC second-round family built on bit-sliced PRESENT-like permutations
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 Knot-Hash-512-512
Knot-Hash-512-512 is one of 6 KNOT variants in the NextSSL registry, a cryptographic hash function. It produces a 64-byte (512-bit) output. 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 is a family of lightweight AEAD and hash algorithms submitted to the NIST Lightweight Cryptography process, where it reached the second round. It uses bit-sliced SPN permutations of 256, 384 and 512 bits.
Each KNOT permutation applies a column-wise 4-bit S-box, implemented bit-sliced across 64-bit or larger rows, followed by row rotations and round-constant addition. This PRESENT-inspired design keeps hardware cost low while allowing efficient software implementation through bit slicing. The hash modes use these permutations in a sponge construction. It was designed in China.
NextSSL includes KNOT-Hash-256-256, KNOT-Hash-256-384, KNOT-Hash-384-384 and KNOT-Hash-512-512, where the first number is the output length and the second the permutation width. Larger permutations provide higher security and throughput at greater hardware cost. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectKNOT 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
Security notes
KNOT did not advance to the NIST finalists, and its cryptanalysis is limited. These entries are unverified in NextSSL and intended for research only.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 64 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "knot-hash-512-512", None, b"abc")[0]
nextssl_root_hash_with("knot-hash-512-512", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "knot-hash-512-512", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other KNOT variants
5Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Knot-Hash-512-512?
Knot-Hash-512-512 is a hash in the KNOT family. KNOT is a family of lightweight AEAD and hash algorithms submitted to the NIST Lightweight Cryptography process, where it reached the second round.
What are the Knot-Hash-512-512 sizes?
In NextSSL, Knot-Hash-512-512 uses: output 64 bytes.
Who designed Knot-Hash-512-512 and when?
Knot-Hash-512-512 belongs to the KNOT family, first published in 2019 by Wentao Zhang et al.. Its origin: NIST Lightweight Cryptography process (round 2).
Is Knot-Hash-512-512 safe to use?
Knot-Hash-512-512 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).
What other KNOT variants are there?
NextSSL also registers knot-hash-256-256, knot-hash-256-384, knot-hash-384-384, knot256v1, knot256v1-lwc1 in the KNOT family.
Related families
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
PHOTON-BeetleBeetle sponge mode on the PHOTON-256 permutation; NIST LWC finalist
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
PHOTON-BeetleA NIST LWC finalist hash and AEAD built on the PHOTON-256 permutation
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD