[英]Decrypting data in c, using openssl
In php i use the following functions: 在php中,我使用以下功能:
openssl_get_privatekey
and openssl_private_decrypt
to decrypt some data. openssl_get_privatekey
和openssl_private_decrypt
解密一些数据。
$privatekey = openssl_get_privatekey (file_get_contents("private.key"));
openssl_private_decrypt($encrypted_data,$decrypted_data, $privatekey);
How can i do the same in c ? 我如何在c中做同样的事情?
Some suggestions or examples are welcome. 欢迎提供一些建议或示例。
Perry 佩里
maybe this quick demo could help you 也许这个快速的演示可以帮助您
there are also a bunch of tutorials wich could give you more insight: 还有很多教程可以为您提供更多的见解:
Overview of the API API概述
Secure handshake 安全握手
Providing a secure service 提供安全的服务
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.