Documentation ¶
Overview ¶
Package xor encrypts/decrypts Agent messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encrypter ¶
type Encrypter struct { }
Encrypter is the structure that implements the Transformer interface for XOR encrypting/decryption
func NewEncrypter ¶
func NewEncrypter() *Encrypter
NewEncrypter is a factory to return a structure that implements the Transformer interface
func (*Encrypter) Construct ¶
Construct takes data in data, AES encrypts it with the provided key, and returns that data as bytes
func (*Encrypter) Deconstruct ¶
Deconstruct takes in AES encrypted data, decrypts it with the provided key, and returns the data as bytes
Click to show internal directories.
Click to hide internal directories.