package crypto import ( "bytes" "io" ) // An AEAD implements QUIC's authenticated encryption and associated data type AEAD interface { Open(associatedData []byte, ciphertext io.Reader) (*bytes.Reader, error) Seal(b *bytes.Buffer, associatedData []byte, plaintext []byte) }