How do you Encrypt and Decrypt a PHP String?
What I mean is:
What I mean is:
What is the simplest way of doing two way encryption in common PHP installs?
I’m currently a student and I’m studying PHP, I’m trying to make a simple encrypt/decrypt of data in PHP. I made some online research and some of them were quite confusing(at least for me).
I found an example for en/decoding strings in PHP. At first it looks very good but it wont work 🙁
I’m trying to encrypt some (cookie) data in C# and then decrypt it in PHP. I have chosen to use Rijndael encryption. I’ve almost got it working, except only part of the text is decrypted! I started working from this example: Decrypt PHP encrypted string in C#