decrypt method

String decrypt(
  1. String encrypted
)

Implementation

String decrypt(String encrypted) {
  assert(_isInitialized, 'DataStoreEncrypter must be initialized before use');

  final iv = IV.fromBase64(encrypted.substring(0, 24));
  return _encrypter.decrypt64(
    encrypted.substring(24),
    iv: iv,
  );
}