encrypt abstract method
Provides crypto_aead_chacha20poly1305_encrypt.
See https://libsodium.gitbook.io/doc/secret-key_cryptography/aead/chacha20-poly1305/xchacha20-poly1305_construction#combined-mode See https://libsodium.gitbook.io/doc/secret-key_cryptography/aead/chacha20-poly1305/original_chacha20-poly1305_construction#combined-mode
Implementation
Uint8List encrypt({
required Uint8List message,
required Uint8List nonce,
required SecureKey key,
Uint8List? additionalData,
});