A password hashing function that supports delegation
Project description
Makwa is a password hashing function designed by Thomas Pornin. This implementation is in pure python with no 3rd party dependencies. From the Passwords14 Slides:
Makwa is a candidate to the Password Hashing Competition.
Main characteristics:
* based on modular arithmetics
* CPU-only cost (not memory-hard)
* algebraic structure enables advanced features: offline work
* factor increase, fast path, escrow
* can be delegated
* named after the Ojibwe name for the American black bear
Reference Material
Installation
pip install makwa
Usage
from makwa import Makwa
m = Makwa() # option h and work_factor parameter e.g. Makwa(work_factor=8192, h=sha1)
hashed = m.hash('password') # optional salt parameter e.g. m.hash('password', salt='salt')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
makwa-1.0.1.tar.gz
(4.8 kB
view hashes)
Built Distributions
makwa-1.0.1-py3-none-any.whl
(5.9 kB
view hashes)
makwa-1.0.1-py2-none-any.whl
(5.9 kB
view hashes)