Pallava
Pallava

Reputation: 39

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 will 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

Upvotes: 0

Views: 1366

Answers (3)

Neo Cambell
Neo Cambell

Reputation: 127

Check Encryption for C++, Visual Basic, php using PC1. Someone has reported it works perfectly with php and VB6.

Upvotes: 0

soju
soju

Reputation: 25312

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

Upvotes: 0

Rob Cowell
Rob Cowell

Reputation: 1618

The programming language/platform is irrelevant - what will matter is that you implement the same encryption/decryption algorithm at both ends.

Upvotes: 2

Related Questions