package
0.0.0-20250202111436-2b0007654f6b
Repository: https://github.com/ngdangkietswe/swe-auth-service.git
Documentation: pkg.go.dev

# Functions

CheckPasswordHash function is used to compare the password and the hash.
GenerateSecret is a function that generates a secret key for OTP.
GenerateTOTPWithSecret is a function that generates a TOTP URI with the secret key.
HashPassword function is used to hash the password.
VerifyOTP is a function that verifies the OTP code with the secret key.