Documentation ¶
Index ¶
- func DecryptAES(str string, key []byte) (string, error)
- func EncryptAES(str string, key []byte) (string, error)
- func Hash(str string) string
- func HashWithBytes(str []byte) string
- func PassHash(str string) string
- func RandomString(n int) string
- func VerifyPassHash(str string, expectedStr string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAES ¶
DecryptAES decrypts a string using AES with a key
func EncryptAES ¶
EncryptAES encrypts a string using AES with a key
func VerifyPassHash ¶
VerifyPassHash verifies that two hashed strings are for the same password string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.