Thanks Wade.
I have been trying(not with much success) to encrypt a
certicaicate in PEM format using a rsa key.
So from your explanation (given that my certificates
arent too big) it should work, right???

Another doubt
I want to use RSA_public_encrypt() to encrypt my
certificate which means I need to populate an RSA
structure.
is there a function that populates the structure given
a pem file with the key.
all i found was RSA_generate_key().I dont want to
generate keys...i just want to use existing keys

thanks,

--- "Wade L. Scholine" <[EMAIL PROTECTED]> wrote:
> Compared to symmetric ciphers, asymmetric ciphers
> tend to be very slow.
> Typically asymmetric ciphers are used to encrypt a
> few tens of bytes of
> data, to protect a key for a symmetric cipher
> session, or to prove that user
> of the asymmetric cipher knows some secret.
> 
> RSA is a block cipher with a block size equal to the
> key size (a little
> smaller, actually). Typical key sizes these days are
> 1024 or 2048 bits (128
> or 256 bytes). Common RSA applications (for example
> SSL) involve using it to
> encrypt one or a few blocks.
> 
> > -----Original Message-----
> > From: sharun santhosh
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 12, 2002 4:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: 
> > 
> > 
> > I am new to this and have read somewhere that
> public
> > key algorithms are inappropriate for encrypting
> > 'large' amounts of data.
> > How large is large?
> >  
> > thanks
> > 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
  • RE: Wade L. Scholine
    • sharun santhosh

Reply via email to