Documentation ¶
Overview ¶
Package rc4 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 { }
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, RC4 encrypts it with the provided key, and returns that data as bytes
func (*Encrypter) Deconstruct ¶
Deconstruct takes in RC4 encrypted data, decrypts it with the provided key, and returns the data as bytes
Click to show internal directories.
Click to hide internal directories.