Xchacha20.poly1305Aead constructor

Xchacha20.poly1305Aead()

XAEAD_CHACHA20_POLY1305 (draft-irtf-cfrg-xchacha) cipher.

SecretBox.mac contains a 128-bit MAC. AAD (Associated Authenticated Data) is supported.

Implementation

factory Xchacha20.poly1305Aead() {
  return Cryptography.instance.xchacha20Poly1305Aead();
}