Ncryptopenstorageprovider New Info
Without opening a provider, you cannot generate, store, or retrieve keys. This makes NCryptOpenStorageProvider the gateway to all cryptographic operations.
// 3. Decrypt using the isolated key DWORD dwResult = 0; ss = NCryptDecrypt(hKey, pCipherText, cbCipherText, NULL, NULL, 0, &dwResult, NCRYPT_SILENT_FLAG); // ... allocate buffer and decrypt ... ncryptopenstorageprovider new