Skip to content

darjeeling/python-blake2

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PYTHON BLAKE2 Module

BLAKE2 is an improved version of BLAKE, one the finalists in the NIST SHA-3 competition. Like BLAKE or SHA-3, BLAKE2 offers the highest security, yet is fast as MD5 on 64-bit platforms and requires at least 33% less RAM than SHA-2 or SHA-3 on low-end systems. This implementation uses the BLAKE2b variant of the algorithm which is optimized for 64-bit systems. The algorithm was designed by Jean-Philippe Aumasson, Samuel Neves, Zooko Wilcox-O'Hearn, and Christian Winnerlein.

Installation

blake2 package is uploaded to pypi. you can use

  • easy_install blake2
  • pip install blake2

Installation with source

  1. git clone https://github.com/darjeeling/python-blake2.git
  2. cd python-blake2
  3. python setup.py install

Usage

you shoud apply same key to get same hash. initialzed key shoud be given.

import blake2
blake2.blake2( data [, hashSize = 64,   key = "",  rawOutput = False ] )
blake2.blake2b( data [, hashSize = 64,   key = "",  rawOutput = False ] )
blake2.blake2s( data [, hashSize = 32,   key = "",  rawOutput = False ] )

More Info

https://blake2.net/

About

blake2 python module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages