encryptAesGcm method

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

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

Returns the encrypted cipher text as a Base64 encoded string.

Throws UnimplementedError if not overridden by the platform implementation.

Implementation

Future<String> encryptAesGcm(String masterKey, String plainText) {
  throw UnimplementedError('encryptAesGcm() has not been implemented.');
}