Hash functions

Sneikha256

The hash members of the SNEIK family, a first-round NIST lightweight submission

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 Sneikha256

Sneikha256 is a cryptographic hash function from the SNEIKHA 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

SNEIKHA is the hash component of SNEIK, a family of lightweight algorithms by Markku-Juhani O. Saarinen submitted to the first round of the NIST Lightweight Cryptography process. It uses a sponge built on the SNEIK permutation.

The SNEIK permutation operates on a 512-bit state of sixteen 32-bit words and uses ARX operations arranged so that each step depends on neighbouring words, giving a compact implementation on small processors. The SNEIKHA modes use the permutation in a sponge, with variants for different output sizes. It uses one permutation for all modes.

NextSSL includes SNEIKHA-256 and SNEIKHA-384 entries wired from benchmarking sources. The SNEIK permutation was designed to be efficient on 8-bit and 32-bit microcontrollers, which made it an interesting case study when weaknesses appeared. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. SNEIKHA published by Markku-Juhani O. Saarinen

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

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

Cryptanalysis published during the NIST process reported weaknesses in SNEIK, and it did not advance beyond the first round. These entries are unverified and must not be used for security.

Typical uses

Lightweight cryptography researchBenchmark reproduction

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

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

Frequently asked questions

What is Sneikha256?

Sneikha256 is a hash in the SNEIKHA family. SNEIKHA is the hash component of SNEIK, a family of lightweight algorithms by Markku-Juhani O. Saarinen submitted to the first round of the NIST Lightweight Cryptography process.

What are the Sneikha256 sizes?

In NextSSL, Sneikha256 uses: output 32 bytes.

Who designed Sneikha256 and when?

Sneikha256 belongs to the SNEIKHA family, first published in 2019 by Markku-Juhani O. Saarinen. Its origin: NIST Lightweight Cryptography process (round 1).

Is Sneikha256 safe to use?

Sneikha256 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).