Versions in this module Expand all Collapse all v0 v0.0.10 Jul 6, 2020 v0.0.9 Jul 6, 2020 Changes in this version + func DecryptEAPIResponse(resp []byte) []byte + func EncryptEAPIRequestPayload(path string, input []byte) string + func EncryptToString(input, key []byte) string + func LinuxClientEncrypt(input []byte) string + func PKCS7Padding(data []byte, blockSize int) []byte + func PKCS7UnPadding(origData []byte) []byte + func PrepareEAPIRequestBody(url string, input []byte, hash string) []byte + func PrepareEAPIRequestHash(url string, input []byte) string + type EAPIRequestPayload struct + Data string + Path string + func DecryptEAPIRequestBody(input []byte) (*EAPIRequestPayload, error) + type WEAPICryptedPayload struct + EncryptedText string + SecureKey string + func EncryptWEAPIPayload(input []byte) (*WEAPICryptedPayload, error) + func EncryptWEAPIPayloadWithSecureKey(input, secureKey []byte) (*WEAPICryptedPayload, error)