Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AesOfbContext ¶
type AesOfbContext struct {
// contains filtered or unexported fields
}
func NewAesOfbContext ¶
func NewAesOfbContext(password string, s settings.Settings) AesOfbContext
NewAesOfbContext creates a new crypto context.
func (AesOfbContext) Decrypt ¶
Decrypt decrypts the data from the given reader and presents a reader to read the decrypted data from.
func (AesOfbContext) Encrypt ¶
func (c AesOfbContext) Encrypt(w io.Writer) (io.WriteCloser, error)
Encrypt creates an io.WriteCloser that can be used to write data encrypted to the given io.Writer.
Click to show internal directories.
Click to hide internal directories.