Registry / crypto / wincrypt

wincrypt

JSON →
library0.0vcpkgunverified

Windows Cryptography.

vcpkg install wincrypt
INSTALL
IMPORT
SIG · WINCRYPT
W
wincrypt
cryptocppv0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wincrypt.h
#include <wincrypt.h>

Acquire a Windows cryptographic context

#include <wincrypt.h> #include <iostream> int main() { HCRYPTPROV hProv; if (CryptAcquireContext(&hProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { std::cout << "Cryptographic context acquired" << std::endl; CryptReleaseContext(hProv, 0); } return 0; }
Debug
Known issues
gotchaWindows-only library; not available on other platforms.
fix
Use platform-specific conditionals or alternative cross-platform crypto libraries.
affects: *
Upgrade
Version history
0.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
Resources

No resource links recorded.

wincrypt — pip install wincrypt · libregistry