Hi
 
Try the code below to print the Integer Object value
 
re = privkey.GetExponent();
cout << "e= ";
 
for (int i=0; i<re.ByteCount(); i++)
{
  cout <<  re.GetByte(i); /*check that you need type casting or not*/
}
 
cout << endl;
 
Regards
Haytham

"generalz (sent by Nabble.com)" <[EMAIL PROTECTED]> wrote:

hi Haytham
my code is:
re=privkey.GetExponent();
cout << "e= "<< re << endl;

but the return is 1 yet.why?
help!!
Thank in advanced!
generalz
--
View this message in context: http://www.nabble.com/how-to-get-the-e-and-d-in-rsa--t1250344.html#a3364503
Sent from the Crypto++ forum at Nabble.com.



Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.

Reply via email to