Hi,

Did you mean verifying a message with the given public key?

CryptoPP::Integer rsa_n( modulus, modulus_length );
CryptoPP::Integer rsa_e( exponent, exponent_length );
CryptoPP::RSASSA_PKCS1v15_MD5_Verifier rsa(rsa_n, rsa_e);
rsa.VerifyMessage(buffer, length, signature, signature_length);

Regards


------------------------------
Johan Andersson <[EMAIL PROTECTED]>
schrieb am 23.04.2007 10:16

> 
> Hi,
> 
> I'm new to Crypto++ and I'm having some difficulty using the RSA
> algorithm. I'm trying to decrypt an MD5 hash sum using the public RSA
> key. The hash sum have been enrypted in Java with the private key
> using RSA with PKCS1 padding. My main problem is how to initialize the
> RSA algorithm with the public key, which is stored as two character
> strings (modulus and exponent). I'm using cryptop++ 5.40.
> 
> Thanks,
> 
> Johan
> 
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to