I have a Win32 application that has to implement algorithm NTLM v2 Authentication in accordance to http://msdn.microsoft.com/en-us/library/cc236700(v=PROT.10).aspx. Partially, I need an implementation of crypto algorithm HMAC_MD5(). I see Win32 Crypto API contains function CryptCreateHash; but cannot understand: how to use it for the HMAC-MD5? Can someone explain me or give an example?
相关问题
- Translating Win32 Crypto API calls to C# with Syst
- JPK - CryptoAPI RSA 256/ECB/PKCS#1 one time secret
- How to AES CBC encryption Using cryptoAPI
- How to export AES key derived using CryptoAPI
- How to Sign an EXE with Additional Certificates us
相关文章
- How to Sign an EXE with Additional Certificates us
- Random numbers for Windows Phone 8 and Windows Sto
- Restore RSA private key by modulus, public and pri
- MD5-SHA1 hash using CryptoAPI
- How to query the root certificate?
- CertCreateCertificateChainEngine returning “Invali
- How to extract public key from a .Net DLL in C#? [
- 在C#中做数字签名不是用C ++验证(Digital signature made in C# do
Generic example at http://msdn.microsoft.com/en-us/library/aa382379%28v=vs.85%29.aspx. You might want to replace the
CALG_SHA1
with aCALG_MD5
to get the right algorithm.Good luck with NTLM: hairy little beast that.