Hi, Thanks for your reply!
Yes that was exactly was i meant, but forgot to write. ;-) I'm still having trouble getting Crypto++ to validate my MD5 sum. The verfication step fails. Is there some way to decrypt the RSA signature so that I can see if the MD5 sum is the same as when the signature was created. The signature is created with a program written i Java. Regards, Johan On 23 Apr, 10:34, "v.miethe"<[EMAIL PROTECTED]> wrote: > 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. -~----------~----~----~----~------~----~------~--~---
