Erwann ABALEA wrote:
> On Wed, 27 Feb 2002 [EMAIL PROTECTED] wrote:
>
>>I have a quick question about encrypting with private key
>
> That's what we call a signature, and even if it is possible to encrypt
> data with whichever key you want, it's definitely not a good idea to
> *encrypt* with a *private* key, and *decrypt* with a *public* key...
Well, no -- a signature is a digest and pad encrypted with the private
key. There are certainly uses for encrypting a symmetric key with
an RSA private key -- ever heard of S/MIME? PEM?
I might want to convey a key K to you as
e-you(d-me(K))
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]