Encrypt appends the encrypted bytes corresponding to the given plaintext to a given slice. Must not clobber the input slice and return ciphertext with additional padding and checksum.
(plainText gather.Bytes, contentID []byte, output *gather.WriteBuffer)
| 22 | // Encrypt appends the encrypted bytes corresponding to the given plaintext to a given slice. |
| 23 | // Must not clobber the input slice and return ciphertext with additional padding and checksum. |
| 24 | Encrypt(plainText gather.Bytes, contentID []byte, output *gather.WriteBuffer) error |
| 25 | |
| 26 | // Decrypt appends the unencrypted bytes corresponding to the given ciphertext to a given slice. |
| 27 | // Must not clobber the input slice. If IsAuthenticated() == true, Decrypt will perform |
no outgoing calls