https://github.com/dchest/pyblake2
Raw File
Tip revision: 646d0a55da24196c5312b35573598cd18f8137b1 authored by Dmitry Chestnykh on 14 September 2020, 14:32:33 UTC
EOL
Tip revision: 646d0a5
README.rst
pyblake2 — BLAKE2 hash function for Python
==========================================

Python 3.6 and later have native support for `BLAKE2 in hashlib <https://docs.python.org/3.6/library/hashlib.html? highlight=hashlib#hashlib.blake2b>`_ derived from this implementation, with compatible API. **Since all earlier Python versions reached end-of-life, this module is also EOL and will not be updated**.
---------------------------------------

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/



back to top