chacha20Poly1305 method
Creates ChaCha20-Poly1305 AEAD from 32-byte key. Throws on invalid length.
Implementation
@override
BuAead chacha20Poly1305(List<int> key) {
final result = api.chacha20Poly1305(key);
return result.unwrapOrThrowCryptoError();
}