encryptAesGcm method

  1. @override
Future<String> encryptAesGcm(
  1. String masterKey,
  2. String plainText
)
override

Encrypts the provided plainText using AES-GCM with the given masterKey.

Returns a Base64-encoded string representing the encrypted data.

Implementation

@override
Future<String> encryptAesGcm(String masterKey, String plainText) async {
  return await encryptAesGcmWeb(masterKey, plainText);
}