如何在 (php/python) 和 C++ 中的服务器端之间实现加密(Win32/本机 Windows)?
如何在 (php/python) 和 C++ (Win32/Native Windows) 中的服务器端之间实现加密?
我必须在服务器端(使用 php 或 python)和客户端(使用 Win32 API 的 C++)之间传输数据。我不确定双方可以使用哪些函数/API 或库,以便双方能够进行通信。我不是在寻找一些复杂的公钥/私钥或使用 https,而是寻找一种简单的加密方法。在这方面的任何帮助都会有很大帮助。
提前致谢!
How can I implement encryption between server side in (php/python) and C++ (Win32/Native Windows)?
I have to transfer data between server side (using php or python) and client side (C++ using Win32 APIs). I am not sure that what functions/APIs or Libs I can use on the both sides so that both sides should be able to communicate. I am not looking for some complicated public/private key or using https but a simple encryption method. Any help in this regards would be of great help.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在客户端使用
OpenSSL
并OpenSSL
。换句话说,你写“我不是在寻找一些复杂的”,但如果你不想使用一些复杂的,那么你就没有加密。最简单的方法是使用不加密的明文传输,如果您搜索类似的内容,请使用例如ROT13
(< code>str_rot13)但这并没有给你任何加密。Use
OpenSSL
on client side andOpenSSL
on server side. In other way you writing "I am not looking for some complicated" but if you don't want use some complicated then you don't have encryption. Easiest way is use cleartext transmission without encryption, if you searching something like this use for exampleROT13
(str_rot13
) but this is not give you any encryption.