如何在 (php/python) 和 C++ 中的服务器端之间实现加密(Win32/本机 Windows)?

发布于 2024-10-01 16:53:35 字数 235 浏览 1 评论 0原文

如何在 (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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼藏柔 2024-10-08 16:53:35

在客户端使用 OpenSSLOpenSSL。换句话说,你写“我不是在寻找一些复杂的”,但如果你不想使用一些复杂的,那么你就没有加密。最简单的方法是使用不加密的明文传输,如果您搜索类似的内容,请使用例如 ROT13 (< code>str_rot13)但这并没有给你任何加密。

Use OpenSSL on client side and OpenSSL 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 example ROT13 (str_rot13) but this is not give you any encryption.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文