Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptByteStream ¶
Decrypt Byte Streams
func EncryptByteStream ¶
Encrypt Byte Streams
func OpenFile ¶
OpenFile performs a few tasks. 1. Initial validation of a files existence on disk. 2. Ensuring that the file of capable of being encrypted (binary files, cannot be) 3. The final step is obtaining the byte array from an opened file and returning this byte array to the calling process.
Types ¶
type Encryption ¶
func (Encryption) Decrypt ¶
func (e Encryption) Decrypt() error
Decrypt is the primary method used to decrypt a file on disk.
func (Encryption) Encrypt ¶
func (e Encryption) Encrypt() error
Encrypt is the primary encryption method used to encrypt a file on disk.
Click to show internal directories.
Click to hide internal directories.