Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader wraps and io.Reader and will decrypt anything read from it using the ctr.
func NewReader ¶
NewReader returns an io.ReadSeekCloser. The key must be 16, 24 or 32 bytes in size and the iv must be 16 bytes.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer wraps an io.Writer and will encrypt anything written to it using the ctr.
func NewWriter ¶
NewWriter returns an io.WriteSeekCloser. The key must be 16, 24 or 32 bytes in size and the iv must be 16 bytes.
Click to show internal directories.
Click to hide internal directories.