Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEncryptedReader ¶
func NewEncryptedReader(r io.ReadCloser, key []byte) (io.ReadCloser, error)
NewEncryptedReader create new reader, decrypting data from underlying reader with a key.
func NewWriter ¶
func NewWriter(w io.WriteCloser, key []byte) (io.WriteCloser, error)
NewWriter returns a new encryption Writer Writes to the returned writer are encrypted with a key and written to w.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.