Skinnyhashtk2
The hash functions of the SKINNY-AEAD submission, built from the SKINNY block cipher
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 Skinnyhashtk2
Skinnyhashtk2 is a cryptographic hash function from the SKINNY-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
SKINNY-Hash is the hashing component of the SKINNY-AEAD and SKINNY-Hash submission to the NIST Lightweight Cryptography process. It builds sponge functions from SKINNY-128, a tweakable block cipher published in 2016.
SKINNY is a tweakable SPN block cipher designed for low hardware area. Its tweakey framework processes key and tweak material together; TK2 versions have a 256-bit tweakey and TK3 versions a 384-bit tweakey. SKINNY-Hash builds a permutation from several SKINNY-128 calls in parallel under fixed tweakeys and uses it in a sponge, giving 256-bit output.
NextSSL includes SKINNY-tk2-Hash and SKINNY-tk3-Hash entries and skinnyhashtk2/skinnyhashtk3 entries wired from benchmarking sources. Romulus, a NIST finalist, uses a later variant of the same cipher. SKINNY itself is widely studied and used as a benchmark cipher in academic work. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2016–2025SKINNY tweakable block cipher presented at CRYPTO
NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectSKINNY-AEAD and SKINNY-Hash submitted to NIST Lightweight Cryptography
Ten 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
The SKINNY cipher has been extensively analysed with no practical attacks on full rounds. SKINNY-Hash did not advance to the NIST finalists, and these entries are unverified.
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", "skinnyhashtk2", None, b"abc")[0]
nextssl_root_hash_with("skinnyhashtk2", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "skinnyhashtk2", &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 Skinnyhashtk2?
Skinnyhashtk2 is a hash in the SKINNY-Hash family. SKINNY-Hash is the hashing component of the SKINNY-AEAD and SKINNY-Hash submission to the NIST Lightweight Cryptography process.
What are the Skinnyhashtk2 sizes?
In NextSSL, Skinnyhashtk2 uses: output 32 bytes.
Who designed Skinnyhashtk2 and when?
Skinnyhashtk2 belongs to the SKINNY-Hash family, first published in 2016 by Christof Beierle, Jérémy Jean, Stefan Kölbl, Gregor Leander, Amir Moradi, Thomas Peyrin, Yu Sasaki, Pascal Sasdrich, Siang Meng Sim. Its origin: NIST Lightweight Cryptography process (round 2).
Is Skinnyhashtk2 safe to use?
Skinnyhashtk2 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
Beetle sponge mode on the PHOTON-256 permutation; NIST LWC finalist
RomulusSKINNY-based tweakable block cipher AEAD family; NIST LWC finalist
PHOTON-BeetleA NIST LWC finalist hash and AEAD built on the PHOTON-256 permutation
RomulusA NIST LWC finalist family built on the SKINNY tweakable block cipher