Hash functions

Skein-224-Sha3r3

Skein round 3: the Threefish-based SHA-3 finalist, with 224 to 512-bit digests

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 Skein-224-Sha3r3

Skein-224-Sha3r3 is one of 4 Skein (SHA-3 round 3) variants in the NextSSL registry, a cryptographic hash function. It produces a 28-byte (224-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–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Skein published

  3. 64 designs submitted; 51 accepted into round 1

    NIST SHA-3 competition
  4. 14 designs advance to round 2

    NIST SHA-3 competition
  5. Five finalists named: BLAKE, Grøstl, JH, Keccak and Skein

    NIST SHA-3 competition
  6. Keccak selected as SHA-3

    NIST SHA-3 competition
  7. SHA-3 published as FIPS 202

    NIST SHA-3 competition

How it works

  1. The message is split into blocks and each block is processed by UBI with a tweak that encodes the block type.
  2. Threefish encrypts the chaining value under the message block as key.
  3. 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

Historical comparison of SHA-3 finalistsResearch on tweakable block ciphers in hashingNot recommended for production hashing

Sizes

FieldBytesMeaning
out28Output

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

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

3

Frequently asked questions

What is Skein-224-Sha3r3?

Skein-224-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-224-Sha3r3 sizes?

In NextSSL, Skein-224-Sha3r3 uses: output 28 bytes.

Who designed Skein-224-Sha3r3 and when?

Skein-224-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-224-Sha3r3 safe to use?

Skein-224-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-256-sha3r3, skein-384-sha3r3, skein-512-sha3r3 in the Skein (SHA-3 round 3) family.