Documentation ¶
Index ¶
- func DecryptAES(encrypted string, cipherKey ...string) (value string, err error)
- func EncryptAES(plaintext string, cipherKey ...string) (value string, err error)
- func GetCryptoKey(key ...string) (value string, err error)
- func Hash(data string) (value string, err error)
- func Hmac(data string, cipherKey ...string) (value string, err error)
- func RandomBytes(max int) (value []byte, err error)
- func RandomInt(max int) (value int, err error)
- func RandomString(max int) (value string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCryptoKey ¶
func RandomBytes ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.