Skein512256
Skein-512-256: the 512-bit-state Skein hash truncated to a 256-bit digest
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 Skein512256
Skein512256 is a cryptographic hash function from the Skein-512-256 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
Skein-512-256 uses the 512-bit state Skein and truncates the output to 256 bits. NextSSL archives it as an unverified research variant of the finalist.
Skein-512-256 keeps its state in the Threefish tweakable block cipher, and the 256-bit digest is taken from the final chaining value. The UBI mode processes the message in blocks whose tweak encodes the block type and position. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data.
NextSSL lists the variant as skein512256 with output 256-bit (32 bytes). Each Skein size is a separate entry in NextSSL's registry. NextSSL keeps this archived version as its own entry so that test vectors can match a specific round or parameter set. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons.
Skein is a SHA-3 finalist design. NextSSL does not record a practical break, but its tier is unverified, so the variant is for comparison and research. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. The five SHA-3 finalists were studied publicly for several years, and that analysis is recorded in the published literature rather than in NextSSL's data.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionSkein-512-256 published
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-3 published as FIPS 202
NIST SHA-3 competition
How it works
- Threefish is keyed with the chaining value and tweaked with the block type.
- UBI chains each message block through the Threefish cipher.
- The output is the final chaining value, cut to 32 bytes.
Security notes
No practical attack on the full Skein hash is recorded in NextSSL's data. Its tier is unverified, so no security claim is made.
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", "skein512256", None, b"abc")[0]
nextssl_root_hash_with("skein512256", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "skein512256", &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 Skein512256?
Skein512256 is a hash in the Skein-512-256 family. Skein-512-256 uses the 512-bit state Skein and truncates the output to 256 bits.
What are the Skein512256 sizes?
In NextSSL, Skein512256 uses: output 32 bytes.
Who designed Skein512256 and when?
Skein512256 belongs to the Skein-512-256 family, first published in 2008 by Niels Ferguson, Stefan Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon Callas, Jesse Walker. Its origin: NIST SHA-3 competition, finalist design.
Is Skein512256 safe to use?
Skein512256 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
The large-block tweakable ARX cipher underlying the Skein hash
HMAC_DRBGNIST SP 800-90A deterministic random bit generator built on HMAC
BLAKE2A fast, secure successor to BLAKE with built-in keying, salting and tree hashing
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
Skein (SHA-3 round 3)Skein round 3: the Threefish-based SHA-3 finalist, with 224 to 512-bit digests
BLAKE2A fast, secure successor to BLAKE with built-in keying, salting and tree hashing