package
1.0.6-rc.1
Repository: https://github.com/containerum/user-manager.git
Documentation: pkg.go.dev
# Functions
CheckPassword allows to compare password from request with salted value from database.
GenSalt generates a salt from given data.
GetByteKey generates a salted password using pbkdf2 algorithm.
GetKey works same as GetByteKey but returns result as string.
SecureRandomBytes returns the requested number of bytes using crypto/rand.
SecureRandomString securly generates random string.
WebAPIPasswordEncode needed to encode password with function from old web-api to allow old users to login.