Documentation ¶ Index ¶ type Crypto func New() *Crypto func (c *Crypto) Decrypt(data []byte, password string, fileName string) ([]byte, error) func (c *Crypto) Encrypt(plaintext []byte, password, fileName string) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Crypto ¶ type Crypto struct{} func New ¶ func New() *Crypto func (*Crypto) Decrypt ¶ func (c *Crypto) Decrypt(data []byte, password string, fileName string) ([]byte, error) func (*Crypto) Encrypt ¶ func (c *Crypto) Encrypt(plaintext []byte, password, fileName string) ([]byte, error) Source Files ¶ View all Source files crypto.go Click to show internal directories. Click to hide internal directories.