crypto/cipher.AEAD.Seal (method)
6 uses
crypto/cipher (current package)
cipher.go#L83: Seal(dst, nonce, plaintext, additionalData []byte) []byte
crypto/internal/hpke
hpke.go#L276: ciphertext := s.aead.Seal(nil, s.nextNonce(), plaintext, aad)
crypto/tls
cipher_suites.go#L470: return f.aead.Seal(out, f.nonce[:], plaintext, additionalData)
cipher_suites.go#L493: result := f.aead.Seal(out, f.nonceMask[:], plaintext, additionalData)
conn.go#L532: record = c.Seal(record[:recordHeaderLen],
conn.go#L537: record = c.Seal(record, nonce, payload, additionalData)