Skein
A SHA-3 finalist built from the Threefish tweakable block cipher in the UBI chaining mode
Overview
Skein is a hash function family designed by a team including Bruce Schneier and Niels Ferguson that was one of the five SHA-3 finalists. It is built from Threefish, a tweakable ARX block cipher, and supports native keying, personalisation and tree hashing.
Skein uses Unique Block Iteration (UBI), a chaining mode in which each block is encrypted with Threefish under the chaining value as key and a tweak encoding the position and type of the block. The block is then XORed with the ciphertext. A configuration block, optional key block and final output block are processed through the same mode, giving domain separation between uses. Threefish uses only 64-bit additions, rotations and XORs.
Skein comes in three internal state sizes. NextSSL includes Skein-256-256, Skein-512-512 and Skein-1024-1024 from version 1.3 of the specification, the final round-3 tweak that changed the rotation constants and key schedule constant. Skein-512 was the primary recommended instance, and all three internal sizes can produce any output length. Skein's specification also defines a tree mode and a MAC mode, though these are not exposed separately here.
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
Security notes
No practical attacks on full Skein are known; the best published attacks reach reduced rounds of Threefish. It was not selected as SHA-3 in 2012 and has little deployment, so NextSSL classes it as legacy.
Typical uses
Variants in NextSSL
3Frequently asked questions
Which Skein variants does NextSSL include?
NextSSL registers 3 Skein variants: skein1024, skein256, skein512.
Families with similar names
hash · 1 variant
hash · 1 variant
hash · 1 variant
hash · 1 variant
hash · 4 variants
hash · 4 variants
hash · 4 variants
aead · 1 variant
Other hash functions
All 424Related
The large-block tweakable ARX cipher underlying the Skein hash
BLAKE (SHA-3 finalist)The original BLAKE hash, a SHA-3 finalist and ancestor of BLAKE2 and BLAKE3
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2