troubleshooting Question

Encrpyt / Decrypt in PHP and VB.net

Avatar of tonelm54
tonelm54 asked on
PHPVisual Basic.NET
2 Comments1 Solution405 ViewsLast Modified:
Ive been trying to find a function which can encrypt data from VB.net and then decrypt to PHP, and also encrypt in PHP and decrypt in VB.net.

What I have is several files I want to upload in VB.net encrypted and then for PHP to simply store them in the encrypted form, and when needed, php sends the encrypted files back to VB.net which decrypts it and then stores on the local PC decrypted. This works great, but now I want to write a web front end so need to decrypt the files which are stored on the server to allow them to be viewable by the web application.

Ive found solutions in both PHP and VB.net but when it comes to writing a function for the other language and then testing the tests fail. I dont want to use my current encrpyting function (mainly cause I wrote it many years ago and it sucks in terms of security).

Does anyone have any examples to encrypt and decrypt which will return the same results no matter if its encrypted or decrypted in VB.net or PHP?

Thank you in advance :-)
ASKER CERTIFIED SOLUTION
MlandaT

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros