package
0.0.0-20241212193129-31f37f7e77a3
Repository: https://github.com/thingspect/atlas.git
Documentation: pkg.go.dev
# Functions
CheckPass checks whether a password is weak or disallowed.
CompareHashPass compares a hashed password with its possible plaintext equivalent.
Decrypt decrypts data using 256-bit AES-GCM, providing authenticated encryption with associated data.
Encrypt encrypts data using 256-bit AES-GCM, providing authenticated encryption with associated data.
HashPass returns a hash of a password.
# Constants
Errors returned due to encryption or decryption failures.
Errors returned due to encryption or decryption failures.
ErrWeakPass is returned when a password fails any check.