Jump to my Home Page Send me a message Check out stuff on GitHub Check out my photography on Instagram Check out my profile on LinkedIn Check me out on Facebook

OpenSSL Example Programs

While the OpenSSL library is most commonly used for SSL, I find that my most frequent, direct use of the library has nothing to do with SSL. Some of these non-SSL aspects of the OpenSSL library are illustrated below. The makefile is here.

BIO Basics

bio_hello0.c
Hello World!
bio_hello1.c
Hello World! Again!
bio_hello2.c
Hello World! One More!
bio_cp.c
How to copy a file

BIO Encoding

bio_base64.c
Base 64 encoding
bio_unbase64.c
Base 64 encoding

Digests (BIO & EVP)

bio_dgst.c
Message digests
evp_dgst.c
Message digests

EVP Encryption

evp_decrypt.c
Simple decryption
evp_encrypt.c
Simple encryption

Misc

unixCrypt.c
How to do UNIX crypt with OpenSSL
© 2009 Mitch Richling