Documentation ¶
Index ¶
- func Base64Decode(src string) (string, error)
- func Base64Encode(src string) string
- func GenerateID() string
- func GenerateRandomBytes(n int) ([]byte, error)
- func GenerateSecret() string
- func HashPassword(password string) ([]byte, error)
- func KeyGeneration()
- func VerifyPassword(hashedPassword, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
func GenerateID ¶
func GenerateID() string
func GenerateRandomBytes ¶
func GenerateSecret ¶
func GenerateSecret() string
func HashPassword ¶
func KeyGeneration ¶
func KeyGeneration()
func VerifyPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.