-
-
各位大侠 下面是什么算法
-
发表于:
2012-11-15 14:17
3426
-
DWORD suanfa(DWORD given_dword){
DWORD seed;
DWORD key_radix;
DWORD keep_value2;
DWORD keep_value3;
DWORD tmpptr[3];//key的数组 事先指定好的
seed = given_dword * 100;
key_radix = (tmpptr[0] << 11)^tmpptr[0];
tmpptr[0] += tmpptr[1];
keep_value2 = tmpptr[2];
tmpptr[1] += keep_value2;
keep_value3 = tmpptr[3];
tmpptr[2] += keep_value3;
tmpptr[3] = ((((keep_value3>>19)^(keep_value3))^key_radix)^(key_radix >> 8));
return ((tmpptr[3]+keep_value2)%seed)/(100);
}
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课