Hi,

On Sat, 13 Jul 2002, Manish Ramesh Chablani wrote:

>       Here is the snippet of my code which generates RSA key pair and then
> saves the public and private keys in character buffer. However the output shows
> the public key and private keys are of different sizes.. I was under the
> impression that pub and priv keys are of same sizes.. is my understanding wrong
> or some problem with my code ?

[snip]

> The output generated is:
> Length of public key is 140
> Length of private key is 609

The private key contains all the RSA key data whereas the public key
contains just the public components. So yes, this is normal.

Cheers,
Geoff



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to