Re: Public key encryption by hand

1999-10-14 Thread Jason Cherry
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,

Public key encryption by hand

1999-10-14 Thread Michael Slass
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 keypai

public key encryption by hand

1999-10-08 Thread Michael Slass
Hi: If I have my friend's RSA public key, maybe contained in an x.509 certificate, maybe just an edited version of the output he got doing: openssl -in privkey.pem -text > my_whole_key.txt How do I encrypt a message (presumably containing little more than a session key for a symmetric algorithm)