Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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)

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
argon2-0.1.10.tar.gz (28.3 kB) Copy SHA256 hash SHA256 Source None Dec 20, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page