libsodium_dart_bindings
libsodium_dart_bindings copied to clipboard
How does one use AES-GCM?
I've just realized that this package doesn't have API bindings to AES-GCM.
#/lib/src/api/aead.dart
/// Currently, only the crypto_aead_xchacha20poly1305_ietf_* APIs have been
/// implemented.
I've noticed relevant functions inside of: bindings/libsodium.ffi.dart
, e.g. crypto_aead_aes256gcm_encrypt
Is there any shortcut I could perhaps use with FFI directly to call relevant libsodium
functions and get the AES-GCM decrypt/encrypt? I need to say that I didn't have chance to work with FFI directly, but it seems now it is the moment.
Any hints are very much appreciated.