Python extension module implementing BLAKE2 hash function
C Python Makefile
Latest commit cf44a03 Apr 21, 2016 @dchest Tweak
Permalink
Failed to load latest commit information.
doc_src
impl Support Microsoft Visual C. Apr 1, 2013
test Encode str to bytes before passing to unhexlify(). Apr 11, 2013
.gitignore
.travis.yml
COPYING
MANIFEST.in
README.rst
pyblake2module.c Fix Windows build. Apr 10, 2013
setup.py
tox.ini

README.rst

pyblake2 — BLAKE2 hash function for Python

Build status

pyblake2 is an extension module for Python implementing BLAKE2 hash function.

BLAKE2 is a cryptographic hash function, which offers highest security while being as fast as MD5 or SHA-1, and comes in two flavors:

  • BLAKE2b, optimized for 64-bit platforms and produces digests of any size between 1 and 64 bytes,
  • BLAKE2s, optimized for 8- to 32-bit platforms and produces digests of any size between 1 and 32 bytes.

BLAKE2 supports keyed mode (a faster and simpler replacement for HMAC), salted hashing, personalization, and tree hashing.

Hash objects from this module follow the API of standard library's hashlib objects.

Installation

From PyPI:

$ pip install pyblake2

or download source code and run:

$ python setup.py install

Usage

See documentation: http://pythonhosted.org/pyblake2/