在将此 javascript 转换为 C# 时,我有点困惑...
任何帮助,将不胜感激!
这是javascript:
function wphc(){
var wphc_data = [1017872750,833265020,934642472,816229227,732988517,619502701,716280186,1843763834,1861340473,1843781160,1861340473,1810226984,1777451834,2142819379,1018004607,850040663,984711544,2147409184];
for (var i=0; i<wphc_data.length; i++){
wphc_data[i]=wphc_data[i]^1606808584;
}
var a = new Array(wphc_data.length);
for (var i=0; i<wphc_data.length; i++) {
a[i] = String.fromCharCode(wphc_data[i] & 0xFF, wphc_data[i]>>>8 & 0xFF, wphc_data[i]>>>16 & 0xFF, wphc_data[i]>>>24 & 0xFF);
}
return eval(a.join(''));
}