https://github.com/daggilli/argon2pp
C++ classes for Argon2 hashing
https://github.com/daggilli/argon2pp
argon2 cpp cpp-library cpp23 hash-function header-only
Last synced: 10 months ago
JSON representation
C++ classes for Argon2 hashing
- Host: GitHub
- URL: https://github.com/daggilli/argon2pp
- Owner: daggilli
- License: bsd-3-clause
- Created: 2020-04-13T17:12:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-31T21:43:21.000Z (about 1 year ago)
- Last Synced: 2025-02-12T03:51:33.856Z (about 1 year ago)
- Topics: argon2, cpp, cpp-library, cpp23, hash-function, header-only
- Language: C++
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Argon2pp
This is a C++20 wrapper for the Argon2 hash function library, which is written in C, and is available as a [reference implementation](https://github.com/P-H-C/phc-winner-argon2) on GitHub. Argon2pp is a header-only project; `# include "argon2hash.h"` somewhere in your code will do the trick. You will of course need `libargon2` and the header file `argon2.h` in your compiler's include path. In Debian-like systems this is found in the `libargon2-dev` package. Other distros will have similar packages.
The `argon2hash.cpp` file is a very simple test harness showing how to use the Argon2-id variant of the hash.
The license is BSD-3.