Versions in this module Expand all Collapse all v8 v8.3.2 May 27, 2020 Changes in this version + func DecryptData(key, data []byte, e etype.EType) ([]byte, error) + func DecryptMessage(key, ciphertext []byte, usage uint32, e etype.EType) ([]byte, error) + func DeriveKey(protocolKey, label []byte, e etype.EType) []byte + func DeriveRandom(protocolKey, usage []byte, e etype.EType) ([]byte, error) + func EncryptData(key, data []byte, e etype.EType) ([]byte, []byte, error) + func EncryptMessage(key, message []byte, usage uint32, e etype.EType) ([]byte, []byte, error) + func GetIntegityHash(iv, c, key []byte, usage uint32, e etype.EType) ([]byte, error) + func GetSaltP(salt, ename string) string + func KDF_HMAC_SHA2(protocolKey, label, context []byte, kl int, e etype.EType) []byte + func RandomToKey(b []byte) []byte + func S2KparamsToItertions(s2kparams string) (int, error) + func StringToKey(secret, salt, s2kparams string, e etype.EType) ([]byte, error) + func StringToKeyIter(secret, salt string, iterations int, e etype.EType) ([]byte, error) + func StringToPBKDF2(secret, salt string, iterations int, e etype.EType) []byte + func VerifyIntegrity(key, ct []byte, usage uint32, etype etype.EType) bool Other modules containing this package github.com/atlassian-forks/gokrb5