Documentation ¶ Index ¶ type Cipher Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cipher ¶ type Cipher interface { // Encrypt encrypts data in io.Reader Encrypt([]byte) ([]byte, error) // Decrypt decrypts data in io.Reader Decrypt([]byte) ([]byte, error) } Cipher allows to encrypt and decrypt arbitrary data Source Files ¶ View all Source files cipher.go Click to show internal directories. Click to hide internal directories.