说明: 很实用的sha-1的c++实现#include "stdio.h" void main() { long int a=0x67452301, b=0xefcdab89, c=0x98badcfe, d=0x10325476, e=0xc3d2e1f0; int t; long int T,T1,T2; for (t=0;t<8;t++) { T1=(a59); T2=(b&c)^(~b&c); T=T1+T2+e+0x5a827999; e=d; d=c; c=(b34); b=a; a
<u010255543> 上传 | 大小:105kb