aesGcmEncrypt abstract method

Future<Uint8List> aesGcmEncrypt(
  1. Uint8List key,
  2. Uint8List plaintext,
  3. Uint8List? aad
)

AES-256-GCM with a module-generated nonce: nonce(12) | ciphertext | tag(16).

Implementation

Future<Uint8List> aesGcmEncrypt(
  Uint8List key,
  Uint8List plaintext,
  Uint8List? aad,
);