Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2022 Changes in this version + func Checksum(key []byte, usage uint32, data []byte) ([]byte, error) + func DecryptData(key, data []byte, e etype.EType) ([]byte, error) + func DecryptMessage(key, data []byte, usage uint32, export bool, e etype.EType) ([]byte, error) + func EncryptData(key, data []byte, e etype.EType) ([]byte, error) + func EncryptMessage(key, data []byte, usage uint32, export bool, e etype.EType) ([]byte, error) + func HMAC(key []byte, data []byte) []byte + func StringToKey(secret string) ([]byte, error) + func UsageToMSMsgType(usage uint32) []byte + func VerifyIntegrity(key, pt, data []byte, e etype.EType) bool Incompatible versions in this module v8.4.5+incompatible Nov 22, 2024 v8.4.4+incompatible Dec 5, 2022