C language function:CryptImportKey sample codes

Search sample code in the internet.It is the result.


TITLE : gPetyah ransomware inspired by gWannaCryh hits European countries – Trustlook
v5 = CryptImportKey(*(_DWORD *)(a1 + 8), pbData, pcbStructInfo, 0, 0, (HCRYPTKEY *)(a1 + 12));.......
http://blog.trustlook.com/2017/06/28/petya-ransomware-inspired-by-wannacry-hits-the-european-countries/


TITLE : Toshiyukino.blog
'* CRYPT_IPSEC_HMAC_KEY flag for CryptImportKey() is needed to.......
http://blog1.achikoko.net/tags/hmac
TITLE : Toshiyukino.blog
ret = CryptImportKey(lngProv, keyblob, 12 + key_len, 0, CRYPT_IPSEC_HMAC_KEY, lngKey).......
http://blog1.achikoko.net/tags/hmac
TITLE : encryption - Why, or when, to use an Initialization Vector? - Cryptography Stack Exchange
hKey = CryptImportKey(hProvider, keyData, sizeof(keyData), null, 0);.......
http://crypto.stackexchange.com/questions/5185/why-or-when-to-use-an-initialization-vector
search Google

https://www.google.com/#q=CryptImportKey