Searched defs:fixedNonceAEAD (Results 1 – 1 of 1) sorted by relevance
232 type fixedNonceAEAD struct { struct236 sealNonce, openNonce []byte237 aead cipher.AEAD240 func (f *fixedNonceAEAD) NonceSize() int { return 8 }241 func (f *fixedNonceAEAD) Overhead() int { return f.aead.Overhead() }243 func (f *fixedNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {248 func (f *fixedNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {