Mitch Richling: OpenSSL Example Programs
Author: | Mitch Richling |
Updated: | 2023-11-15 |
Table of Contents
1. Introduction
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.
Get it all on github: https://github.com/richmit/ex-OpenSSL/
2. 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
3. BIO Encoding
bio_base64.c
- Base 64 encoding
bio_unbase64.c
- Base 64 encoding
4. Digests (BIO & EVP)
bio_dgst.c
- Message digests
evp_dgst.c
- Message digests
5. EVP Encryption
evp_decrypt.c
- Simple decryption
evp_encrypt.c
- Simple encryption
6. Misc
unixCrypt.c
- How to do UNIX <tt>crypt</tt> with OpenSSL