Please Explain "by hand"...?
If you mean can you write code in C/C++ to do it, then the answer is yes.
Look in the file rsa.h, it has all the prototypes for the functions you'll
require.
Michael Slass wrote:
>
> Hello:
>
> I asked this question last week, but haven't seen a reply come by, so
> I'll ask again:
>
> Using the openssl command-line tool, is it possible to encrypt a message
> with an RSA public key?
>
> The scenario I'm imagining is ultra lightweight PGP by hand:
>
> 1) My friend and I each generate RSA keypairs
> 2) We exchange public keys (over insecure channels)
> 3) To send a secret message
> a) encrypt message with some symmetric cipher
> b) encrypt session key with RSA key
> c) send encrypted message and encrypted session key
>
> We all know this is what PGP does. Is it possible to do step 3b by hand
> with openssl?
>
> Thanks.
>
> -Mike Slass
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]