https://github.com/infinityofspace/argon2
https://github.com/infinityofspace/argon2
argon2d benchmark python3
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/infinityofspace/argon2
- Owner: infinityofspace
- License: mit
- Created: 2021-04-18T21:14:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T15:42:42.000Z (over 2 years ago)
- Last Synced: 2023-11-10T17:41:51.884Z (over 2 years ago)
- Topics: argon2d, benchmark, python3
- Language: Python
- Homepage:
- Size: 497 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# Argon2d
The argon.py file contains the Argon2d password hashing algorithm in version 19 and uses Blake2 inside the hash function
H.
## Usage
The algorithm code requires `numpy` to run. Moreover, the test cases and the benchmarks requires `matplotlib`
and `argon2_cffi`.
The required python version is 3.6+.
Clone the project:
```commandline
git clone https://github.com/infinityofspace/argon2.git
```
You can install everything with:
```commandline
pip install -r requirements.txt
```
The file `simple_test.py` contains a simple usage example how to use the implementation.
## Benchmarks
The file `bechnmark.py` provides the following compute time benchmarks categories:
- multiprocessing vs single process
- hash length and compute time
- this implementation vs C CFFI lib provided by argon2_cffi
## License
This project is licensed under the MIT License - see the [License](License) file for details.