how to encrypt data using BIO_SSL?
I am using BIO_SSL which is in bio.h to create SSL. but how 开发者_如何学Cto encrypt data using BIO_SSL?
I'm afraid your question is akin to "I have a nail. How do I build a house?". However, perhaps the example on this page will get you started with openssl. Also, this book is pretty good for understanding openssl.
EDIT:
If you are looking to encrypt data rather than do SSL, and you want to use BIO's, then consider the BIO_f_cipher()
bio. I personally find the EVP interface to be easier to understand than the BIO interface.
精彩评论