示例#1
0
 ///* This is the central step in the MD5 algorithm. */
 //#define MD5STEP(f, w, x, y, z, data, s) \
 //        ( w += f(x, y, z) + data,  w = w<<s | w>>(32-s),  w += x )
 static void MD5STEP( dxF1234 f, ref u32 w, u32 x, u32 y, u32 z, u32 data, byte s )
 {
   w += f( x, y, z ) + data;
   w = w << s | w >> ( 32 - s );
   w += x;
 }
示例#2
0
 ///* This is the central step in the MD5 algorithm. */
 //#define MD5STEP(f, w, x, y, z, data, s) \
 //        ( w += f(x, y, z) + data,  w = w<<s | w>>(32-s),  w += x )
 static void MD5STEP(dxF1234 f, ref u32 w, u32 x, u32 y, u32 z, u32 data, byte s)
 {
     w += f(x, y, z) + data;
     w  = w << s | w >> (32 - s);
     w += x;
 }