https://github.com/fa7ad/ergo-argon2
Simple wrapper around the standard implementation of argon2id to make hashing and verifying passwords easier
https://github.com/fa7ad/ergo-argon2
argon2 argon2id crypto go golang hashing
Last synced: 10 months ago
JSON representation
Simple wrapper around the standard implementation of argon2id to make hashing and verifying passwords easier
- Host: GitHub
- URL: https://github.com/fa7ad/ergo-argon2
- Owner: fa7ad
- License: mit
- Created: 2023-04-14T08:38:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-23T12:48:24.000Z (about 3 years ago)
- Last Synced: 2025-03-30T17:28:14.226Z (about 1 year ago)
- Topics: argon2, argon2id, crypto, go, golang, hashing
- Language: Go
- Homepage: https://pkg.go.dev/github.com/fa7ad/ergo-argon2
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ergo-argon2
[](https://github.com/fa7ad/ergo-argon2/actions/workflows/github-code-scanning/codeql)
Simple wrapper around the standard implementation of [*Argon2id*](https://github.com/P-H-C/phc-winner-argon2) to make hashing and verifying passwords easier.
## Motivation
According to OWASP, IETF, et al. Argon2 is currently (2023-04-14) the recommended way to hash and store passwords \[[1][1] [2][2]\].
There is a standard implementation of Argon2 in the [crypto package](https://pkg.go.dev/golang.org/x/crypto/argon2#hdr-Argon2id).
But the functions exported from that package are (in my opinion) too low level for general usage, the `bcrypt` implementation in the same package has a much better interface.
This package aims to act as a simpler interface for using Argon2.
[1]: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html
[2]: https://www.ietf.org/archive/id/draft-ietf-kitten-password-storage-07.html