Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
Decrypt will take in a key and a cipherHex (hex representation of the ciphertext) and decrypt it. This code is based on the standard library examples at:
func DecryptReader ¶
DecryptReader will return a reader that will decrypt data from the provided reader and give the user a way to read that data as it if was not encrypted.
func Encrypt ¶
Encrypt will take in a key and plaintext and return a hex representation of the encrypted value. This code is based on the standard library examples at:
func EncryptWriter ¶
EncryptWriter will return a writer that will write encrypted data to the original writer.
Types ¶
This section is empty.