decryptAesGcm method

Future<String> decryptAesGcm(
  1. String masterKey,
  2. String cipherText
)

Decrypts the given cipherText using AES-GCM with the provided masterKey.

Returns the decrypted plain text as a string.

Throws UnimplementedError if not overridden by the platform implementation.

Implementation

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