Here are two Java implementations of the Skein 512-512 hash algorithm. Both implementations are relatively small, and compatible with the revised (version 1.3) test vectors and reference implementation.
Skein512.java is optimize for speed. 151 MB/s on a MacBook Pro, 2.53 GHz Intel Core 2 Duo; Java 1.6, server mode.
Skein512Small.java is optimize for size (32 lines).
Test.java and testVectors.txt (3 MB) tests for both implementations.
The Scala implementation is based on the small Java implementation.
Test.scala and Skein512.scala.
To view the source code of the implementation, click 'View' 'Page Source'.
This algorithm and source code is released to the public domain.
For questions, improvements, or remarks, send an email to "db support" (one word) at "h2 database" (one word) dot com.