notepad++正则表达式替换

temp=d+(a&b|~a&c)+buffer[9]+0x8b44f7af;
        d=a+(temp<<12|temp>>20);
        temp=c+(d&a|~d&b)+buffer[10]+0xffff5bb1;
        c=d+(temp<<17|temp>>15);
        temp=b+(c&d|~c&a)+buffer[11]+0x895cd7be;
        b=c+(temp<<22|temp>>10);
        temp=a+(b&c|~b&d)+buffer[12]+0x6b901122;
        a=b+(temp<<7|temp>>25);
        temp=d+(a&b|~a&c)+buffer[13]+0xfd987193;
        d=a+(temp<<12|temp>>20);
        temp=c+(d&a|~d&b)+buffer[14]+0xa679438e;
        c=d+(temp<<17|temp>>15);
        temp=b+(c&d|~c&a)+buffer[15]+0x49b40821;
        b=c+(temp<<22|temp>>10);
        temp=a+(b&d|c&~d)+buffer[1]+0xf61e2562;
        a=b+(temp<<5|temp>>27);
        temp=d+(a&c|b&~c)+buffer[6]+0xc040b340;
        d=a+(temp<<9|temp>>23);
        temp=c+(d&b|a&~b)+buffer[11]+0x265e5a51;
        c=d+(temp<<14|temp>>18);
        temp=b+(c&a|d&~a)+buffer[0]+0xe9b6c7aa;
        b=c+(temp<<20|temp>>12);
        temp=a+(b&d|c&~d)+buffer[5]+0xd62f105d;
        a=b+(temp<<5|temp>>27);
        temp=d+(a&c|b&~c)+buffer[10]+0x02441453;
        d=a+(temp<<9|temp>>23);
        temp=c+(d&b|a&~b)+buffer[15]+0xd8a1e681;
        c=d+(temp<<14|temp>>18);
        temp=b+(c&a|d&~a)+buffer[4]+0xe7d3fbc8;
        b=c+(temp<<20|temp>>12);
        temp=a+(b&d|c&~d)+buffer[9]+0x21e1cde6;
        a=b+(temp<<5|temp>>27);
        temp=d+(a&c|b&~c)+buffer[14]+0xc33707d6;
        d=a+(temp<<9|temp>>23);
        temp=c+(d&b|a&~b)+buffer[3]+0xf4d50d87;
        c=d+(temp<<14|temp>>18);
        temp=b+(c&a|d&~a)+buffer[8]+0x455a14ed;
        b=c+(temp<<20|temp>>12);
        temp=a+(b&d|c&~d)+buffer[13]+0xa9e3e905;
        a=b+(temp<<5|temp>>27);
        temp=d+(a&c|b&~c)+buffer[2]+0xfcefa3f8;
        d=a+(temp<<9|temp>>23);
        temp=c+(d&b|a&~b)+buffer[7]+0x676f02d9;
        c=d+(temp<<14|temp>>18);
        temp=b+(c&a|d&~a)+buffer[12]+0x8d2a4c8a;
        b=c+(temp<<20|temp>>12);
        temp=a+(b^c^d)+buffer[5]+0xfffa3942;
        a=b+(temp<<4|temp>>28);
        temp=d+(a^b^c)+buffer[8]+0x8771f681;
        d=a+(temp<<11|temp>>21);
        temp=c+(d^a^b)+buffer[11]+0x6d9d6122;
        c=d+(temp<<16|temp>>16);
        temp=b+(c^d^a)+buffer[14]+0xfde5380c;
        b=c+(temp<<23|temp>>9);
        temp=a+(b^c^d)+buffer[1]+0xa4beea44;
        a=b+(temp<<4|temp>>28);
        temp=d+(a^b^c)+buffer[4]+0x4bdecfa9;
        d=a+(temp<<11|temp>>21);
        temp=c+(d^a^b)+buffer[7]+0xf6bb4b60;
        c=d+(temp<<16|temp>>16);
        temp=b+(c^d^a)+buffer[10]+0xbebfbc70;
        b=c+(temp<<23|temp>>9);
        temp=a+(b^c^d)+buffer[13]+0x289b7ec6;
        a=b+(temp<<4|temp>>28);
        temp=d+(a^b^c)+buffer[0]+0xeaa127fa;
        d=a+(temp<<11|temp>>21);
        temp=c+(d^a^b)+buffer[3]+0xd4ef3085;
        c=d+(temp<<16|temp>>16);
        temp=b+(c^d^a)+buffer[6]+0x04881d05;
        b=c+(temp<<23|temp>>9);
        temp=a+(b^c^d)+buffer[9]+0xd9d4d039;
        a=b+(temp<<4|temp>>28);
        temp=d+(a^b^c)+buffer[12]+0xe6db99e5;
        d=a+(temp<<11|temp>>21);
        temp=c+(d^a^b)+buffer[15]+0x1fa27cf8;
        c=d+(temp<<16|temp>>16);
        temp=b+(c^d^a)+buffer[2]+0xc4ac5665;
        b=c+(temp<<23|temp>>9);
        temp=a+(c^(b|~d))+buffer[0]+0xf4292244;
        a=b+(temp<<6|temp>>26);
        temp=d+(b^(a|~c))+buffer[7]+0x432aff97;
        d=a+(temp<<10|temp>>22);
        temp=c+(a^(d|~b))+buffer[14]+0xab9423a7;
        c=d+(temp<<15|temp>>17);
        temp=b+(d^(c|~a))+buffer[5]+0xfc93a039;
        b=c+(temp<<21|temp>>11);
        temp=a+(c^(b|~d))+buffer[12]+0x655b59c3;
        a=b+(temp<<6|temp>>26);
        temp=d+(b^(a|~c))+buffer[3]+0x8f0ccc92;
        d=a+(temp<<10|temp>>22);
        temp=c+(a^(d|~b))+buffer[10]+0xffeff47d;
        c=d+(temp<<15|temp>>17);
        temp=b+(d^(c|~a))+buffer[1]+0x85845dd1;
        b=c+(temp<<21|temp>>11);
        temp=a+(c^(b|~d))+buffer[8]+0x6fa87e4f;
        a=b+(temp<<6|temp>>26);
        temp=d+(b^(a|~c))+buffer[15]+0xfe2ce6e0;
        d=a+(temp<<10|temp>>22);
        temp=c+(a^(d|~b))+buffer[6]+0xa3014314;
        c=d+(temp<<15|temp>>17);
        temp=b+(d^(c|~a))+buffer[13]+0x4e0811a1;
        b=c+(temp<<21|temp>>11);
        temp=a+(c^(b|~d))+buffer[4]+0xf7537e82;
        a=b+(temp<<6|temp>>26);
        temp=d+(b^(a|~c))+buffer[11]+0xbd3af235;
        d=a+(temp<<10|temp>>22);
        temp=c+(a^(d|~b))+buffer[2]+0x2ad7d2bb;
        c=d+(temp<<15|temp>>17);
        temp=b+(d^(c|~a))+buffer[9]+0xeb86d391;
        b=c+(temp<<21|temp>>11);
        A=A+a;B=B+b;C=C+c;D=D+d;
        a=A;b=B;c=C;d=D;

将代码中类似a&b,替换成(a&b),即加上括号

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值