Triadhashv1
A Trivium-inspired NLFSR hash from the first round of the NIST lightweight process
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 Triadhashv1
Triadhashv1 is a cryptographic hash function from the TRIAD-HASH family. It produces a 32-byte (256-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
TRIAD-HASH is the hash component of TRIAD, a lightweight submission to the first round of the NIST Lightweight Cryptography process. It is built on a nonlinear feedback shift register in the style of the Trivium stream cipher.
TRIAD's core is a state of three nonlinear feedback shift registers whose feedback taps combine AND and XOR operations, following Trivium's hardware-efficient structure. The hash mode uses this update function as a permutation in a sponge-like construction to produce a 256-bit digest. It targets very compact hardware. Its state is small.
NextSSL includes a triadhashv1 entry wired from a benchmarking source. Its design shows how stream-cipher style NLFSRs were adapted to hashing in the lightweight setting. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation. It is kept for completeness.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectTRIAD-HASH published
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
TRIAD did not advance beyond the first round of the NIST process and has had little published cryptanalysis. This entry is unverified and must not be used for security.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 32 | 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", "triadhashv1", None, b"abc")[0]
nextssl_root_hash_with("triadhashv1", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "triadhashv1", &Params::new(), b"abc")?;
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 hash functions
All 424Frequently asked questions
What is Triadhashv1?
Triadhashv1 is a hash in the TRIAD-HASH family. TRIAD-HASH is the hash component of TRIAD, a lightweight submission to the first round of the NIST Lightweight Cryptography process.
What are the Triadhashv1 sizes?
In NextSSL, Triadhashv1 uses: output 32 bytes.
Who designed Triadhashv1 and when?
Triadhashv1 belongs to the TRIAD-HASH family, first published in 2019. Its origin: NIST Lightweight Cryptography process (round 1).
Is Triadhashv1 safe to use?
Triadhashv1 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).