Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Bindings for the argon2 password hasher

Project Description

Python bindings for argon2 :

Installation: You can install argon2_py from this repository if you want the latest but possibly non-compiling version:

$ git clone –recursive

$ cd argon2_py

$ python build

Activate virtualenv (or use sudo):

$ python install

Or you can install the latest release from PYPI:

$ pip install argon2

>>> argon2.argon2_hash.__doc__
    This is argon2 hashing function
t - time cost, which defines the amount of computation realized and therefore the execution time, given in number of iterations
m - memory cost, which defines the memory usage, given in kibibytes
p - parallelism degree, which defines the number of parallel threads
>>> import argon2
>>> argon2.argon2_hash("password", "some_salt", )
>>> import argon2
>>> argon2.argon2_hash(password="some password", salt="some salt", t=16, m=8, p=1, buflen=128, argon_type=argon2.Argon2Type.Argon2_i)
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
argon2-0.1.10.tar.gz (28.3 kB) Copy SHA256 Checksum SHA256 Source Dec 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting