关于C#和Int128
我在破解公司产品的时候,到最后一关public static void TeaEncipher(ref long v, Int128 key, uint n)
{
uint num4 = ((uint)1) << n;
n = num4;
uint num9 = 0x34879012;
uint num10 = 0x69afe9a7;
num4 = num9 + num10;
uint num = (uint)v;
uint num2 = (uint)(v >> 0x20);
uint lo = (uint)key.Lo;
uint num6 = (uint)(key.Lo >> 0x20);
uint hi = (uint)key.Hi;
uint num8 = (uint)(key.Hi >> 0x20);
uint num3 = 0;
while (n > 0)
{
num3 += num4;
num += (((num2 << 4) + (lo ^ num2)) + (num3 ^ (num2 >> 5))) + num6;
num2 += (((num << 4) + (hi ^ num)) + (num3 ^ (num >> 5))) + num8;
n--;
}
v = (num2 << 0x20) | num;
}
有这么一个函数,其中用到了Int128,请问高手,如何才能让C#支持Int128?需要引用甚么?? --------------------编程问答-------------------- 问题解决,找到了他自己编写的函数!结贴 --------------------编程问答-------------------- 楼主自娱自乐吗?
补充:.NET技术 , C#