开发者

how to encrypt data using BIO_SSL?

开发者 https://www.devze.com 2023-01-08 17:24 出处:网络
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, perha

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消