Hash functions

Skinny-TK2-Hash

The hash functions of the SKINNY-AEAD submission, built from the SKINNY block cipher

unverified Root API only
Unverified tier.

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 Skinny-TK2-Hash

Skinny-TK2-Hash is one of 2 SKINNY-Hash variants in the NextSSL registry, a cryptographic hash function. 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–2025
  1. SKINNY tweakable block cipher presented at CRYPTO

  2. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  3. SKINNY-AEAD and SKINNY-Hash submitted to NIST Lightweight Cryptography

  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon 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

Lightweight cryptography researchReusing a SKINNY hardware core for hashing

Sizes

FieldBytesMeaning
out32Output

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", "skinny-tk2-hash", None, b"abc")[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other SKINNY-Hash variants

1

Frequently asked questions

What is Skinny-TK2-Hash?

Skinny-TK2-Hash 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 Skinny-TK2-Hash sizes?

In NextSSL, Skinny-TK2-Hash uses: output 32 bytes.

Who designed Skinny-TK2-Hash and when?

Skinny-TK2-Hash 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 Skinny-TK2-Hash safe to use?

Skinny-TK2-Hash 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 SKINNY-Hash variants are there?

NextSSL also registers skinny-tk3-hash in the SKINNY-Hash family.