Skein (hash function)
Skein is a cryptographic hash function and one of five finalists in the NIST hash function competition.[src] Entered as a candidate to become the SHA-3 standard, the successor of SHA-1 and SHA-2, it ultimately lost to NIST hash candidate Keccak.[src] The name Skein refers to how the Skein function intertwines the input, similar to a skein of yarn.[src] Skein was designed to natively support arbitrary, variable-length outputs, so it can be considered an extendable-output function (XOF).[src]
Skein is a cryptographic hash function and one of five finalists in the NIST hash function competition.[src] Entered as a candidate to become the SHA-3 standard, the successor of SHA-1 and SHA-2, it ultimately lost to NIST hash candidate Keccak.[src] The name Skein refers to how the Skein function intertwines the input, similar to a skein of yarn.[src] Skein was designed to natively support arbitrary, variable-length outputs, so it can be considered an extendable-output function (XOF).[src] ==Cryptanalysis== In October 2010, an attack that combines rotational cryptanalysis with the rebound attack was published.[src] The attack finds rotational collisions for 53 of 72 rounds in Threefish-256, and 57 of 72 rounds in Threefish-512.[src] It also affects the Skein hash function.[src] This is a follow-up to the earlier attack published in February, which breaks 39 and 42 rounds respectively.[src] The Skein team tweaked the key schedule constant for round 3 of the NIST hash function competition, to make this attack less effective, even though they believe the hash would still be secure without these tweaks.[src] ==Examples of Skein hashes== Hash values of empty string.[src] Skein-256-256("") c8877087da56e072870daa843f176e9453115929094c3a40c463a196c29bf7ba Skein-512-256("") 39ccc4554a8b31853b9de7a1fe638a24cce6b35a55f2431009e18780335d2621 Skein-512-512("") bc5b4c50925519c290cc634277ae3d6257212395cba733bbad37a4af0fa06af41fca7903d06564fea7a2d3730dbdb80c1f85562dfcc070334ea4d1d9e72cba7a Even a small change in the message will (with overwhelming probability) result in a mostly different hash, due to the avalanche effect.[src] For example, adding a period to the end of the sentence: Skein-512-256("The quick brown fox jumps over the lazy dog") b3250457e05d3060b1a4bbc1428bc75a3f525ca389aeab96cfa34638d96e492a Skein-512-256("The quick brown fox jumps over the lazy dog.") 41e829d7fca71c7d7154ed8fc8a069f274dd664ae0ed29d365d919f4e575eebb Skein-512-512("The quick brown fox jumps over the lazy dog") 94c2ae036dba8783d0b3f7d6cc111ff810702f5c77707999be7e1c9486ff238a7044de734293147359b4ac7e1d09cd247c351d69826b78dcddd951f0ef912713 Skein-512-512("The quick brown fox jumps over the lazy dog.") 658223cb3d69b5e76e3588ca63feffba0dc2ead38a95d0650564f2a39da8e83fbb42c9d6ad9e03fbfde8a25a880357d457dbd6f74cbcb5e728979577dbce5436 ==References== ==External links== Official Skein website (dead, Wayback Machine archive) Bruce Schneier's Skein webpage ===Implementations=== SPARKSkein – an implementation of Skein in SPARK, with proofs of type-safety Botan contains a C++ implementation of Skein-512 nskein – a .NET implementation of Skein with support for all block sizes pyskein Skein module for Python PHP-Skein-Hash Skein hash for PHP on GitHub Digest::Skein, an implementation in C and Perl skeinfish A C# implementation of Skein and Threefish (based on version 1.3) Java, Scala, and Javascript implementations of Skein 512-512 (based on version 1.3) A Java implementation of Skein (based on version 1.1) An implementation of Skein in Ada skerl, Skein hash function for Erlang, via NIFs Skein 512-512 implemented in Bash Skein implemented in Haskell VHDL source code developed by the Cryptographic Engineering Research Group (CERG) at George Mason University skeinr Skein implemented in Ruby fhreefish An efficient implementation of Skein-256 for 8-bit Atmel AVR microcontrollers, meeting the performance estimates outlined in the official specification[src]
16 sentences · 16 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Skein (hash function)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/skein-hash-function. Accessed 30 November 2026.
Chicago
"Skein (hash function)." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/skein-hash-function.
APA
encyclopegia.org. (2026). Skein (hash function). Retrieved November 30, 2026, from https://encyclopegia.org/wiki/skein-hash-function
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON