Documentation ¶
Index ¶
- func GenMd5(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)
- func GenSHA1(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)
- func GenSHA256(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)
- func GenSHA384(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)
- func GenSHA512(password string, saltLength, keyLength, iterations int) (encryptedPassword string, err error)
- func VerifyMd5(password, encryptedPassword string) (isValid bool, err error)
- func VerifySHA1(password, encryptedPassword string) (isValid bool, err error)
- func VerifySHA256(password, encryptedPassword string) (isValid bool, err error)
- func VerifySHA384(password, encryptedPassword string) (isValid bool, err error)
- func VerifySHA512(password, encryptedPassword string) (isValid bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifySHA1 ¶
func VerifySHA256 ¶
func VerifySHA384 ¶
func VerifySHA512 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.