| cryptacquirecontextw(&hprov,null,l("microsoft base cryptographic provider v1.0"),1,0xf0000000);    cryptcreatehash(hprov,0x8004,null,null,&hhash);    cryptcreatehash(hprov,0x8004,null,null,&hhash);005f9dfe:    crypthashdata(hhash,passwdbuf,0x12,null);passwdbuf是小寫的passwd緩沖區,然后附加一個key,如上例子就是對    {'1','2''3''4''5''6',0x17,0x51,0x85,0x7f}這樣的一個字串進行hash加密    crypthashdata(hhash,passwdbuf,0x12,null);passwdbuf是大寫的passwd緩沖區,然后附加一個key 005f9e3e:    cryptgethashparam(hhash,2,&passwdout,&outlen,0);取出passwdbuf是小寫的passwd的加密值    cryptgethashparam(hhash,2,&passwdout,&outlen,0); |