What I mean is: Maybe something like: In PHP, how can you do this? Attempted to use Crypt_Blowfish, but it didn’t work for me. Answer Updated PHP 7 ready version. It uses openssl_encrypt function from PHP OpenSSL Library.
Tag: encryption-symmetric
Simplest two-way encryption using PHP
What is the simplest way of doing two way encryption in common PHP installs? I need to be able to encrypt data with a string key, and use the same key to decrypt on the other end. The security isn’t as big of a concern as the portability of the code, so I’d like to be able to keep things