Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

HMAC mode for BLAKE

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 blake256.c
Octocat-spinner-32 blake256.h
Octocat-spinner-32 blake512.c
Octocat-spinner-32 blake512.h
Octocat-spinner-32 blakesum.c
Octocat-spinner-32 tests.c
README.md

About

This project provides an HMAC implementation based on BLAKE. In particular, this project provides

  • HMAC-BLAKE-224
  • HMAC-BLAKE-256
  • HMAC-BLAKE-384
  • HMAC-BLAKE-512

in addition to the regular BLAKE functions.

BLAKE is a SHA-3 candidate hash algorithm. HMAC is specified by RFC 2104.

Usage

Build the hash functions:

$ make

Test them:

$ echo "Hello World" | ./bin/blake512hmac secretkey
519668fda76703526f58da8adb5c888e4a9865ec1ea50916b66d830ccbe6d934547f2f9874c94834c50617ffe21edba5c5308c6d6b9fc9c8e76a7716ce6d7a5e

$ echo "Hello World" | ./bin/blake384sum 
4a25a70e1d0897c59251752e7a2be5c179edec433f65f628e9f9662d25a081a6b20e649532be38558de036dcce8b1581

TODO

  • PBKDF2 based on BLAKE.

Contributing

This project is available on GitHub and Bitbucket. You may contribute changes using either.

Please report bugs and feature requests using the GitHub issue tracker.

Something went wrong with that request. Please try again.