Welcome to Dilip's Home Page

Dilip's Head
HOME
PHOTOS
CONTACT ME
COURSES
PROJECTS
PUBLICATIONS
TEACHING
TALKS
ACTIVITIES
SOFTWARE
LINKS
CV
GUEST BOOK
(View/Sign)
Get Firefox!


OpenSSL Example Code and Wrapper Functions

I have written some wrapper functions for the openssl library. These functions can serve as example code for using openssl. Download the code: myCryptoFunctions.tar.gz.

The following functions are contained in the tarball:

  • Sign with a private key.
  • Verify the signature with the corresponding public key.
  • Encrypt with symmetric key.
  • Decrypt with symmetric key.
  • Generate an RSA public-private key pair.
  • Save a public/private key to a buffer, load from the buffer.
  • Generate random symmetric keys.
  • Encrypt with a public key.
  • MD5 and SHA hashes - both keyed and unkeyed.

If you find the code useful or find bugs, please do send me an email.

Latest Info

What are you Grateful For?

My Wife's New Home Page

Last Update: Sunday, 22-Jan-2006 20:48:58 PST; unique visitors since Nov 15, 2005. [Site Stats]