Auth is a package that provides authentication and authorization support. It provides basic encryption, hashing, password validation, and token generation functionality.
This project is maintained with standard golang utilities,
controlled via make. To see all Makefile targets, simply run
make help
from the root source directory of the project.
The crypt package provides functionality to encrypt and decrypt data using AES-256-GCM. This is useful for encrypting data to be temporarily stored in a cookie during OAUTH transactions.
The hash package provides functionality to hash data via the Argon2 hashing algorithms. Information on Argon2 can be found here.
The password package provides policy matching functionality for passwords.