[英]How can I implement encryption between server side in (php/python) and C++ (Win32/Native Windows)?
How can I implement encryption between server side in (php/python) and C++ (Win32/Native Windows)? 如何在(php / python)和C ++(Win32 / Native Windows)服务器端之间实现加密?
I have to transfer data between server side (using php or python) and client side (C++ using Win32 APIs). 我必须在服务器端(使用php或python)和客户端(使用Win32 API的C ++)之间传输数据。 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. 我不确定双方可以使用哪些功能/ API或库,以便双方都应该能够通信。 I am not looking for some complicated public/private key or using https but a simple encryption method. 我不是在寻找一些复杂的公钥/私钥或使用https,而是一种简单的加密方法。 Any help in this regards would be of great help. 在这方面的任何帮助将是极大的帮助。
Thanks in advance! 提前致谢!
Use OpenSSL
on client side and OpenSSL
on server side. 使用OpenSSL
在客户端和OpenSSL
服务器端。 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. 最简单的方法是使用明文传输而不进行加密,如果您搜索类似这样的内容,例如使用ROT13
( str_rot13
),但这不会为您提供任何加密。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.