Documentation
¶
Index ¶
- func Decrypt(payload []byte) []byte
- func DecryptWithExpiration(payload []byte, expiry time.Duration) []byte
- func Encrypt(payload []byte) []byte
- func HMAC(payload []byte) []byte
- func HMACVerify(payload []byte, signature []byte) bool
- func InitCrypto(config ini.File)
- func Sign(payload []byte) []byte
- func Verify(payload, signature []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptWithExpiration ¶
func HMACVerify ¶
func InitCrypto ¶
func InitCrypto(config ini.File)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.