Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2022 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 EncryptData(key, data []byte, e etype.EType) ([]byte, []byte, error) + func EncryptMessage(key, message []byte, usage uint32, e etype.EType) ([]byte, []byte, error) + func S2KparamsToItertions(s2kparams string) (int64, error) + func StringToKey(secret, salt, s2kparams string, e etype.EType) ([]byte, error) + func StringToKeyIter(secret, salt string, iterations int64, e etype.EType) ([]byte, error) + func StringToPBKDF2(secret, salt string, iterations int64, e etype.EType) []byte Incompatible versions in this module v8.4.4+incompatible Dec 5, 2022