Documentation
¶
Index ¶
- func DeriveKey(p Parameter, data, salt []byte) []byte
- func Encode(p Parameter, hashed, salt []byte) string
- func GenerateRandomBytes(n uint32) ([]byte, error)
- func HashPassword(p Parameter, password string) (string, error)
- func ValidatePassword(password, hashedPassword string) (bool, error)
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
func ValidatePassword ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.