Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bwesterb/argon2pure
Pure-python implementation of Argon2 – winner of the Password Hashing Competition
https://github.com/bwesterb/argon2pure
argon2 cryptography hashing python
Last synced: 14 days ago
JSON representation
Pure-python implementation of Argon2 – winner of the Password Hashing Competition
- Host: GitHub
- URL: https://github.com/bwesterb/argon2pure
- Owner: bwesterb
- License: mit
- Created: 2016-01-21T14:02:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T10:33:10.000Z (9 months ago)
- Last Synced: 2024-09-26T09:08:21.761Z (about 2 months ago)
- Topics: argon2, cryptography, hashing, python
- Language: Python
- Size: 32.2 KB
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
argon2pure
==========Pure Python implementation of Argon2_ v1.3.
You probably want to use the argon2_cffi_ or pyargon2_ bindings instead.
Usage
-----.. code:: python
>>> 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... _argon2: https://password-hashing.net/#argon2
.. _pyargon2: https://pypi.python.org/pypi/argon2
.. _argon2_cffi: https://pypi.python.org/pypi/argon2_cffi