Hash functions

Skein256256

Skein-256-256: the 256-bit-state Skein hash with a 256-bit digest

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 Skein256256

Skein256256 is a cryptographic hash function from the Skein-256-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-256-256 uses the 256-bit state version of Skein with a 256-bit digest. It is one of the Threefish-based hash sizes that NextSSL archives as unverified research code.

Skein-256-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 skein256256 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–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Skein-256-256 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. Threefish is keyed with the chaining value and tweaked with the block type.
  2. UBI chains each message block through the Threefish cipher.
  3. 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

Historical comparison of SHA-3 finalistsResearch on Threefish-based hashingNot recommended for production hashing

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", "skein256256", 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 Skein256256?

Skein256256 is a hash in the Skein-256-256 family. Skein-256-256 uses the 256-bit state version of Skein with a 256-bit digest.

What are the Skein256256 sizes?

In NextSSL, Skein256256 uses: output 32 bytes.

Who designed Skein256256 and when?

Skein256256 belongs to the Skein-256-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 Skein256256 safe to use?

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