A Cryptol Implementation of Skein
Galois, Inc. |
Friday, January 23, 2009 at 8:04PM | in
Community,
Cryptography,
Formal Methods,
Technology,
cryptol Following on from the MD6-in-Cryptol posting, let's consider another very interesting candidate from the (deep) pool of SHA-3 submissions; Skein
http://www.skein-hash.info/ http://www.schneier.com/skein.html
by the merry band of Ferguson, Lucks, Schneier, et al.The expression of their reference implementation comes out, we think, fairly cleanly in Cryptol. The digest output size is a variable parameter to the algorithm, but we'll focus on the 512-bit version here -- the submission's primary candidate for SHA-3.In order to avoid duplicating the introductory material on Cryptol, we suggest the reader go through the MD6 writeup to get a grounding in Cryptol, its idioms, and syntax.