package
1.2.4
Repository: https://github.com/avinash92c/bootstrap-go.git
Documentation: pkg.go.dev

# Functions

ComparePasswordAndHash Compares the input password and the previously generated hash and checks if plain password matches the encrypted password.
DecryptAES decrypts a encrypted aes string data to plain text.
EncryptToAES encrypts the given plain text data to encrypted string.
GenerateFromPassword generates a argon2 hash on the input password.
GenerateRandomSecret generates a random 32 byte secret to use for encryption.
RandomString Generates a random string of A-Z chars with len = l.