Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptReader ¶
DecryptReader creates and returns a cipher.StreamReader that decrypts data read from an io.Reader using AES-256 in CFB mode. It takes a key as a string and an io.Reader from which the encrypted data will be read. Returns the cipher.StreamReader for decryption or an error if the initialization vector cannot be read.
func EncryptWriter ¶
EncryptWriter creates and returns a cipher.StreamWriter that encrypts data written to it using AES-256 in CFB mode. It takes a key as a string and an io.Writer where the encrypted data will be written. Returns the cipher.StreamWriter for encryption or an error if the initialization vector cannot be written.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.