On Tue, Jul 15, 2008 at 10:53 PM, William Estrada <[EMAIL PROTECTED]> wrote:
> Hi group,
>
>  I am starting a project that will require using SSL to transmit data in an
> encrypted mode. I would like
> to find some simple code that I could use as a model for my program. The
> program will be a peer to peer
> communication using the same code at each end, an SSL Agent. I want to use
> "One Time" RSA

Have a look at the ./apps/ directory that comes with the OpenSSL
source distro; in particular the s_client and s_server source code are
significant.

Start with that, then progress to see how you can tweak the code to
[only] use RSA.
The applications provided in the apps directory are also useful to see
how you should go about generating keys, etc.


Next to that:
Indulge yourself and only obtain the O'reilly 'OpenSSL' book by John
Viega et al, which is a quite useful addition to the available on-line
documentation. It has been worth it to me; given your question(s), I
am sure it will serve you well too.


On the crypto/SSL coding side: since you appear to want to use one
time keys, try to get a full 'anonymous' (Diffie Hellman) SSL
connection going first, just so you have something that works after
just a few minor tweaks (always nice to see the bytes pop out the
other end like you expect them to); meanwhile read up on the subject
in the OpenSSL book so you get a more detailed view of what you want
and how to go about it.


-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
 http://www.hebbut.net/
mail: [EMAIL PROTECTED]
mobile: +31-6-11 120 978
--------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to