Searched defs:XChaCha20Poly1305 (Results 1 – 4 of 4) sorted by relevance
29 type XChaCha20Poly1305 struct { struct30 Key []byte51 func (x *XChaCha20Poly1305) Encrypt(plaintext []byte, associatedData []byte) ([]byte, error) {73 func (x *XChaCha20Poly1305) Decrypt(ciphertext []byte, associatedData []byte) ([]byte, error) {
35 public final class XChaCha20Poly1305 implements Aead { class39 private XChaCha20Poly1305(final byte[] key, final byte[] outputPrefix) in XChaCha20Poly1305() method in XChaCha20Poly130545 public XChaCha20Poly1305(final byte[] key) throws GeneralSecurityException { in XChaCha20Poly1305() method in XChaCha20Poly1305
30 public final class XChaCha20Poly1305 implements Aead { class33 public XChaCha20Poly1305(final byte[] key) throws GeneralSecurityException { in XChaCha20Poly1305() method in XChaCha20Poly1305
191 const KeyTemplate& AeadKeyTemplates::XChaCha20Poly1305() { in XChaCha20Poly1305() function in crypto::tink::AeadKeyTemplates