For starters you can look at the demos in openssl-0.9.7d/demos/ssl. I changed serv.cpp to serv.c. Here is a quick an dirty compile This is for HP cc you might have to check your makefile for what it used. The openssl include files are in /usr/local/include.
cc -c -g -Ae -D _HPUX_SOURCE -I/usr/local/include serv.c cc -o ssl_server serv.o /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a chmod 777 ssl_server See the man page for openssl for creating certificates that have a private RSA key or see openssl-0.9.7d/demos/privkey.pem. Also the man page for openssl is at http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/INDEXES/INDEX_O.HTM GNU cryptography library also has RSA. Thanks, Mike >>> [EMAIL PROTECTED] 6/10/2004 5:20:41 AM >>> I've been given the task of trying to implement the RSA algorithm in C for my company. Looking at the code in the rsa_lib.c file it seems like it shouldn't be too hard to include this into another C program but my knowledge of C is somewhat limited. Coule anybody please give me a head start and let me know if using this package to encrypt/decrypt data in our database could be as easy as calling a few functions from this library? If so, what order? ______________________________________________________________________ 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]