Skip to main content

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


pip install makwa


from makwa import hashpw, checkpw

hashed_pw = hashpw(
    h=<hash function>,
    salt=<optional salt>,
# returns a boolean
is_valid = checkpw(
    h=<hash function>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for makwa, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size makwa-1.0.2-py2-none-any.whl (6.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size makwa-1.0.2-py3-none-any.whl (6.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size makwa-1.0.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page