简体   繁体   English

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

[英]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. 最简单的方法是使用明文传输而不进行加密,如果您搜索类似这样的内容,例如使用ROT13str_rot13 ),但这不会为您提供任何加密。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows Server 2003上安装PHP 5 - %1不是有效的Win32应用程序 - Installing PHP 5 on Windows Server 2003 - %1 is not a valid Win32 application 如何在PHP / JavaScript中实现Win32函数MessageBox的等效功能? - How to implement the equivalent of the Win32 function MessageBox in PHP/JavaScript? 无法将 C:/php/php7apache2_4.dll 加载到服务器中:%1 不是有效的 Win32 应用程序 - Cannot load C:/php/php7apache2_4.dll into server: %1 is not a valid Win32 application SQLSRV PHP for SQL Server for is not a valid Win32 application - SQLSRV PHP for SQL Server for is not a valid Win32 application 在Win32 C扩展中使用php_strtolower - using php_strtolower in win32 c extension 如何从PHP进行Win32 API调用? - How do I make Win32 API calls from PHP? 为什么Windows7 64上的php win32无法连接到安装在同一台计算机上的mysql 32或64? - why php win32 on windows7 64 cannot connect to mysql 32 or 64 installed on the same machine? Win32 PHP扩展开发 - Win32 PHP extension development 如何用PHP,Ruby或Python编写程序,并使一般用户(如Win32应用程序)可以轻松下载和安装? - how to write a program in PHP, Ruby, or Python, and make it easily downloadable and installable by general users like a Win32 app? PHP服务器和C ++客户端中的Xor加密 - Xor encryption in PHP server and c++ client
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM