Versions in this module Expand all Collapse all v1 v1.0.2 Feb 27, 2024 v1.0.1 Feb 27, 2024 Changes in this version + func DES3DecryptData(key, data []byte, e etype.EType) ([]byte, error) + func DES3DecryptMessage(key, ciphertext []byte, usage uint32, e etype.EType) ([]byte, error) + func DES3EncryptData(key, data []byte, e etype.EType) ([]byte, []byte, error) + func DES3EncryptMessage(key, message []byte, usage uint32, e etype.EType) ([]byte, []byte, error) + func DES3RandomToKey(b []byte) []byte + func DES3StringToKey(secret, salt string, e etype.EType) ([]byte, error) + func DeriveKey(protocolKey, usage []byte, e etype.EType) ([]byte, error) + func DeriveRandom(key, usage []byte, e etype.EType) ([]byte, error) + func Nfold(m []byte, n int) []byte + func PseudoRandom(key, b []byte, e etype.EType) ([]byte, error) + func RandomToKey(b []byte) []byte + func VerifyIntegrity(key, ct, pt []byte, usage uint32, etype etype.EType) bool