xorBase64Decode static method
异或对称 Base64 解密
与 xorBase64Encode 对称:base64 解码→字节级 XOR→UTF-8 解码。
Implementation
static String xorBase64Decode(String res, String key) {
final List<int> keyInts = _parseXorKey(key);
final List<int> bytes = base64Decode(res);
final List<int> xored = _xorBytes(bytes, keyInts);
return utf8.decode(xored);
}