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