Documentation
¶
Index ¶
- func CheckPasswordStrength(password string) error
- func DecryptPassword(encryptedPassword string, key []byte) (string, error)
- func DeriveKey(password string) ([]byte, string, error)
- func DeriveKeyWithSalt(password, saltHex string) ([]byte, error)
- func EncryptPassword(password string, key []byte) (string, error)
- func GeneratePassword(length int) (string, error)
- func HashMasterPassword(password string) (string, error)
- func ReadPassword(reader io.Reader) (string, error)
- func VerifyMasterPassword(hashedPassword, password string) bool
- type PasswordStrengthError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordStrength ¶
func DeriveKeyWithSalt ¶
func GeneratePassword ¶
func HashMasterPassword ¶
func VerifyMasterPassword ¶
Types ¶
type PasswordStrengthError ¶
type PasswordStrengthError struct{ Message string }
func (*PasswordStrengthError) Error ¶
func (e *PasswordStrengthError) Error() string
Click to show internal directories.
Click to hide internal directories.