decrypt method
Implementation
@override
List<int> decrypt(List<int> data) {
var header = CryptorHeader.tryParse(data);
var cryptor = _getCryptor(header);
var headerLength = header != null ? header.length : 0;
var metadata = headerLength > 0
? data.sublist((headerLength - header!.metadataLength), headerLength)
: List<int>.empty();
return cryptor!
.decrypt(EncryptedData.from(data.sublist(headerLength), metadata));
}