Sneikha256
The hash members of the SNEIK family, a first-round NIST lightweight submission
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–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectSNEIKHA published by Markku-Juhani O. Saarinen
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
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
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", "sneikha256", None, b"abc")[0]
nextssl_root_hash_with("sneikha256", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "sneikha256", &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 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).
Related families
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
GimliCross-platform 384-bit permutation in a duplex AEAD; NIST LWC round 2
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
GimliA 384-bit permutation designed to be fast across hardware, microcontrollers and SIMD CPUs
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD