I have two programms. One creates a persisted key and saves it to key storage provider, then signs the hash and write the sign to the regedit. Second ...
I have two programms. One creates a persisted key and saves it to key storage provider, then signs the hash and write the sign to the regedit. Second ...
I am kind of stuck, I want to generate new pair of public and private keys. But I can't find a way to extract them. I used this: (C++) (dont mind ...
Introduction I have a digital code signing logic in my application. I use custom signing tool which signs dll files and create .sig text files with s ...
This is an extension of How to encrypt data in one app and decrypt it in different Windows app with RSA keys tied to local system?. From the linked q ...
I have a setup where I need to encrypt blob of data in one app and decrypt it in different app. I built a sample app that creates a named CngKey obje ...
I'm having a problem while making a powershell script for creation of Always Encrypted column encryption keys When I run these functions from the Sql ...
I am trying to get the details of keys in Microsoft Key Storage Provider. For this I open the storage provider using the below API call: NCryptOpenSto ...
I want to store a known AES key (retrieved offline) by entering it into the application once, saving it to Cng for storage, then reference it only by ...
. Answers to this question are eligible for a +250 reputation bounty. S ...
I successfully generated RSA keys using the following sequence of CNG APIs: I'm confused though which part of the buffer generated, should be Base6 ...
I'm develoving a custom CNG Key Storage Provider. It works fine with some applications like Chrome, but a third party application uses the CryptAcquir ...
I need to verify the signature of a message using Windows' Cryptography API: Next Generation. I have the message, its signature, and a public key in P ...
Porting an existing Framework application to Core in which we had long since replaced System.Security.Cryptography.SHA256 and System.Security.Cryptogr ...
We are trying to generate RSA SHA512 signature with CNG, we wrote code and generated hash value not matching with OpenSSL. Private key used for signi ...
I am learning about Cryptography in .NET and I wrote the following function as a test: When I try executing it, rsab.Decrypt() throws a Cryptograph ...
On Windows Server A, we can generate a key in an HSM, and make it available to AD CS. The key is used to generate a CSR, which is signed by a public C ...
I'd like to implement data encryption and decryption in a C++ application running on Windows. I've spent considerable time looking around the Web and ...
What is the best way to implement a elliptic curve diffie hellman using HKDF as key derivation function in windows using native windows functionallity ...
I am trying to create creating a pfx file using PFXExportCertStoreEx API for a self-signed certificate and its corresponding private key. Self-signed ...
On this page https://docs.microsoft.com/en-us/windows/win32/seccng/cng-portal exists download link to Cryptographic Provider development kit what is b ...