How to Encrypt a string in PHP, and decrypt it in Visual basic 6?
I have an application in VB which communicates over HTTP with the WEB app built with PHP.
The PHP application w开发者_JAVA技巧ill send an encrypted value(string) to the VB app, the VB app should be able to decrypt it to get the string.
FYI: I am using VB6 and PHP 5.3 with Xampp.
Thank you
The programming language/platform is irrelevant - what will matter is that you implement the same encryption/decryption algorithm at both ends.
Why do you need to encrypt data ? Depending on the answer :
- you should use https
- or use mcrypt php extension
- or create your own method
Check Encryption for C++, Visual Basic, php using PC1. Someone has reported it works perfectly with php and VB6.
精彩评论