1. 首页
  2. 编程语言
  3. C#
  4. md5\82477210MD5_FastCollision_v1.0.0.5_src.zip

md5\82477210MD5_FastCollision_v1.0.0.5_src.zip

上传者: 2021-04-22 02:29:56上传 ZIP文件 26.06KB 热度 6次
void md5_compress(uint32 ihv[], const uint32 block[]) { uint32 a = ihv[0]; uint32 b = ihv[1]; uint32 c = ihv[2]; uint32 d = ihv[3]; MD5_STEP(FF, a, b, c, d, block[0], 0xd76aa478, 7); MD5_STEP(FF, d, a, b, c, block[1], 0xe8c7b756, 12); MD5_STEP(FF, c, d, a, b, block[2], 0x242070db, 17); MD5_STEP(FF, b, c, d, a, block[3], 0xc1bdceee, 22); MD5_STEP(FF, a, b, c, d, block[4], 0xf57c0faf, 7); MD5_STEP(FF, d, a, b, c, block[5], 0x4787c62a, 12); MD5_STEP(FF, c, d, a, b, block[6], 0xa8304613, 17); MD5_STEP(FF, b, c, d, a, block[7], 0xfd469501, 22); MD5_STEP(FF, a, b, c, d, block[8], 0x698098d8, 7); MD5_STEP(FF, d, a, b, c, block[9], 0x8b44f7af, 12); MD5_STEP(FF, c, d, a, b, block[10], 0xffff5bb1, 17); MD5_STEP(FF, b, c, d, a, block[11], 0x895cd7be, 22); MD5_STEP(FF, a, b, c, d, block[12], 0x6b901122, 7); MD5_STEP(FF, d, a, b, c, block[13], 0xfd987193, 12); MD5_STEP(FF, c, d, a, b, block[14], 0xa679438e, 17); MD5_STEP(FF, b, c, d, a, block[15], 0x49b40821, 22); MD5_STEP(GG, a, b, c, d, block[1], 0xf61e2562, 5); MD5_STEP(GG, d, a, b, c, block[6], 0xc040b340, 9); MD5_STEP(GG, c, d, a, b, block[11], 0x265e5a51, 14); MD5_STEP(GG, b, c, d, a, block[0], 0xe9b6c7aa, 20); MD5_STEP(GG, a, b, c, d, block[5], 0xd62f105d, 5); MD5_STEP(GG, d, a, b, c, block[10], 0x02441453, 9); MD5_STEP(GG, c, d, a, b, block[15], 0xd8a1e681, 14); MD5_STEP(GG, b, c, d, a, block[4], 0xe7d3fbc8, 20); MD5_STEP(GG, a, b, c, d, block[9], 0x21e1cde6, 5); MD5_STEP(GG, d, a, b, c, block[14], 0xc33707d6, 9); MD5_STEP(GG, c, d, a, b, block[3], 0xf4d50d87, 14); MD5_STEP(GG, b, c, d, a, block[8], 0x455a14ed, 20); MD5_STEP(GG, a, b, c, d, block[13], 0xa9e3e905, 5); MD5_STEP(GG, d, a, b, c, block[2], 0xfcefa3f8, 9); MD5_STEP(GG, c, d, a, b, block[7], 0x676f02d9, 14); MD5_STEP(GG, b, c, d, a, block[12], 0x8d2a4c8a, 20); MD5_STEP(HH, a, b, c, d, block[5], 0xfffa3942, 4); MD5_STEP(HH, d, a, b, c, block[8], 0x8771f681, 11); MD5_STEP(HH, c, d, a, b, block[11], 0x6d9d6122, 16); MD5_STE
用户评论