Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomString ¶ added in v0.12.1
GenerateRandomString generates a random string of a given length consisting of letters and digits.
func HashPassword ¶
HashPassword generates a bcrypt hash for the given password. This function takes a password string as input, and returns the hashed password string and possible errors. The purpose of hashing the password is to securely store it, making it difficult for attackers to obtain the plaintext password.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.