Skein-384-Sha3r3
Skein round 3: the Threefish-based SHA-3 finalist, with 224 to 512-bit digests
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 Skein-384-Sha3r3
Skein-384-Sha3r3 is one of 4 Skein (SHA-3 round 3) variants in the NextSSL registry, a cryptographic hash function. It produces a 48-byte (384-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 round 3 is the finalist version of the Skein hash, built on the Threefish tweakable block cipher and UBI chaining. NIST did not select it as SHA-3, and NextSSL archives it as unverified code.
Skein chains the Unique Block Iteration (UBI) mode over the Threefish tweakable block cipher. Threefish uses only addition, rotation and XOR, so it runs quickly in software without table lookups. 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 keeps this archived version as its own entry so that test vectors can match a specific round or parameter set.
This is the round 3 finalist version, one of the five candidates considered before NIST chose Keccak. NextSSL lists output sizes of 224, 256, 384 and 512-bit, and the entries are skein-224-sha3r3, skein-256-sha3r3, skein-384-sha3r3, skein-512-sha3r3. Keccak was selected in 2012 as SHA-3 and standardised in FIPS 202, so the other finalists are historical comparisons. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices.
Skein also has a tree-hashing and key-derivation mode from the same design. The archived variants here are the plain hash outputs, and each size is a separate entry. 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 keeps this archived version as its own entry so that test vectors can match a specific round or parameter set.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionSkein 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
- The message is split into blocks and each block is processed by UBI with a tweak that encodes the block type.
- Threefish encrypts the chaining value under the message block as key.
- A final output block is generated from the last state and truncated to the requested size.
Security notes
Skein was a SHA-3 finalist and has no practical attack on the full hash in NextSSL's data. Its tier is unverified, so use it for research and comparison.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 48 | 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", "skein-384-sha3r3", None, b"abc")[0]
nextssl_root_hash_with("skein-384-sha3r3", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "skein-384-sha3r3", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other Skein (SHA-3 round 3) variants
3Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Skein-384-Sha3r3?
Skein-384-Sha3r3 is a hash in the Skein (SHA-3 round 3) family. Skein round 3 is the finalist version of the Skein hash, built on the Threefish tweakable block cipher and UBI chaining.
What are the Skein-384-Sha3r3 sizes?
In NextSSL, Skein-384-Sha3r3 uses: output 48 bytes.
Who designed Skein-384-Sha3r3 and when?
Skein-384-Sha3r3 belongs to the Skein (SHA-3 round 3) 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, round 3.
Is Skein-384-Sha3r3 safe to use?
Skein-384-Sha3r3 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 Skein (SHA-3 round 3) variants are there?
NextSSL also registers skein-224-sha3r3, skein-256-sha3r3, skein-512-sha3r3 in the Skein (SHA-3 round 3) family.
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
Keccak (SHA-3 round 3)Keccak round 3: the finalist sponge hash that NIST standardised as SHA-3 in FIPS 202
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
BLAKE2A fast, secure successor to BLAKE with built-in keying, salting and tree hashing