> When I import RSA keys from the outside I noticed that not only the
> private/public exponent and the modulus are needed but also other prime
> factors.
>
> While it's true that RSA allows the specifications of those parameters, I
> thought that for simple exponentiation the exponents and the modulus 
> should
> be sufficient. However if I try to import only those attributes the object
> throws an exception because it believes to be incomplete.
>
> Is it possible to have a working object with only those parameters ?

Use the third Initialize() function of InvertibleRSAFunction (same as 
RSA::PrivateKey). It will compute the prime factors internally given just n, 
e, and d. 



--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to