xorDecodeBytes method
bytes xor decryption
Implementation
List<int> xorDecodeBytes(List<int> bytes, {String? key}) {
this.key = key ?? this.key;
if (this.key != null && this.key!.isNotEmpty) {
return _xor(bytes, utf8.encode(this.key!));
} else {
return _decrypt(bytes);
}
}