Skip to content

Pure-python implementation of Argon2 – winner of the Password Hashing Competition

License

Notifications You must be signed in to change notification settings

bwesterb/argon2pure

Repository files navigation

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(b'password', b'randomsalt', time_cost=1, memory_cost=16, parallelism=2))
b'0163c5fa892819055eb07b8acb94fd2ff5273e689b34107daaaaceda648f1e1b'

Installation

Run:

pip install argon2pure

TODO

  • Optimize.
  • Cover corner-cases in tests.

About

Pure-python implementation of Argon2 – winner of the Password Hashing Competition

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages