argon2pure

Pure python implementation of the ARGON2 password hash


Keywords
argon2, cryptography, hashing, python
License
MIT
Install
pip install argon2pure==1.2.3

Documentation

argon2pure

Pure Python implementation of Argon2 v1.3.

You probably want to use the argon2_cffi or pyargon2 bindings instead.

Usage

>>> import argon2pure
>>> from binascii import hexlify
>>> hexlify(argon2pure.argon2('password', 'randomsalt', time_cost=1, memory_cost=16, parallelism=2))
'0163c5fa892819055eb07b8acb94fd2ff5273e689b34107daaaaceda648f1e1b'

Installation

Run:

pip install argon2pure

TODO

  • Optimize.
  • Cover corner-cases in tests.