BLAKE SHA-3 candidate hashes in Haskell (deprecated)
Haskell Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
blakesum-demo
blakesum
.gitignore
README

README

BLAKESUM
Kevin Cantu <me@kevincantu.org>
July 2011


An implementation of the BLAKE SHA-3 candidate hash algorithms in Haskell,
including BLAKE-256, BLAKE-512, BLAKE-224, and BLAKE-384.

The folder `./blakesum` contains source for a `blakesum` library which 
provides the hash functions.

The folder `./blakesum-demo` contains an executable program which demonstrates a use of these.


NIST SHA-3:       http://en.wikipedia.org/wiki/NIST_hash_function_competition
BLAKE website:    http://131002.net/blake/
BLAKE proposal:   http://131002.net/blake/blake.pdf


THE DEMO:
$ blakesum -h
blakesum
  -a BITS  --algorithm=BITS  256, 512, 224, 384 (default: 512)
  -c       --check           check saved hashes
  -s SALT  --salt=SALT       one positive uint per byte, salt: "0,0,...0,0"
  -h       --help            display this help and exit
  -v       --version         display version and exit

$ blakesum LICENSE 
4f2e8f0379d419e5e116663f79b5f1e8516d82a26a3691e7ba693b875f6b789212d68b9731b9322ae392ad1ba950969d8f437e60ee90c0ae18df5e5ef2d99d59 *LICENSE

TODO: optimize a lot more...