package
Version:
v0.0.0-...-1d13ee8
Opens a new window with list of versions in this module.
Published: Sep 22, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package secret implement all crypto utils like password hashing and secret generation
GenerateToken generate hexadecimal token.
Password hash a source string with argon2id, return properly encoded hash.
VerifyPassword check is source password and stored password is similar, take password and a properly encoded hash.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.