Hi Jeff,

Thanks for the reply.

But, this is not what I am looking for. I generated public key from
crypto++ as given below:

30819D300D06092A864886F70D010101050003818B0030818702818100CE3F3FDBDFF5F4585982BFE82F5F0B28ED5A6FEFD296FF9EBAD1EB3BF558180BCAD5CAF3E03F38173210C4C23EA8BB8BF7AA486B3172B4153E41365072109F6B5C34DFAE2E218B36BF02E7826BEFC177F44837D4D7531123F6D119197F4D46050B59B9462E9D451787ABF55687BA693EE8DA8E179FD9063B450F6B71CB03284D020111

I fed this public key (alongwith message and signature) into
RSAVerifyFile API  (in test.cpp).  I want to know how crypto++
separates e and n from this and feeds into a_exp_b_mod_c  func in
RSAFunction::ApplyFunction (in rsa.cpp) so as to verify a given
signature?

Thanks.

~Rohit~



On Mar 3, 8:36 pm, "Jeffrey Walton" <[EMAIL PROTECTED]> wrote:
> Hi Rohit,
>
> http://www.cryptopp.com/wiki/RSA
>
> Jeff
>
> On 3/3/08, Rohit <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi All,
>
> > I am interested in extracting RSA code from Crypto++. I want to verify
> > signature (of hash of some file) using RSAVerifyFile API. I would like
> > to know how are public exponent (e) and modulus (n) extracted from the
> > public key fed to RSAVerifyFile. RSAFunction::ApplyFunction contains
> > a_exp_b_mod_c which basically performs (a^b mod c) using signature, e
> > and n. Can anyone please tell from where and how e and n are coming
> > actually?
>
> > Thanks a lot!
>
> > ~Rohit~
--~--~---------~--~----~------------~-------~--~----~
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