I am using BIO_SSL which is in bio.h to create SSL.
but how to encrypt data using BIO_SSL?
I am using BIO_SSL which is in bio.h to create SSL. but how to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.