PySkein 0.6

PySkein is an extension module for Python 3.0 or later implementing the Skein hash algorithm, one of the Second Round Candidates in the NIST SHA-3 Competition. While originally based on the optimized version of the reference implementation by Doug Whiting, PySkein has since evolved into a feature-rich and pythonic module. It is released as free software under the GNU General Public License. Its highlights are:

  • A simple interface following the hash algorithms in the Python standard library (like hashlib.sha1() or hashlib.sha256())
  • High hashing performance through efficient implementation in C (368 MB/s on a 2.8 GHz Opteron)
  • Many features of the Skein specification (such as tree hashing, various parameters and output sizes etc.)
  • Threefish, the tweakable block cipher used in Skein, available for encrytion and decryption on its own

New in version 0.6: Tree hashing with arbitrary tree parameters