开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜