I was working on converting C# code to VC++ (no support for .net). I encountered following line of code.
RSA.VerifyData(hash, "SHA1", signature)
How to achieve this? Here hash is the encrypted information. Signature is information retrieved from User’s end. This function returns a boolean value. Is there any way to perform same verification on char* directly in C++?
Check the CPVerifySignature or CryptVerifySignature functions – Available in the CryptoAPI (Windows native).