decrypt method

  1. @override
List<int> decrypt(
  1. EncryptedData input
)

Implementation

@override
List<int> decrypt(EncryptedData input) {
  if (input.data.length <= 16) {
    throw CryptoException('decryption error: empty content');
  }
  return cryptor.decryptWithKey(cipherKey, input.data);
}