Archive for June 2017

PHP Encrypt Decrypt a Request Param

I was looking for a way to encrypt a parameter in a URL. I found some nice and handy solutions but then I discovered that most of them are using mcrypt extension is deprecated (mcrypt_encrypt and mcrypt_decrypt). The best solution now is to use the two way encryption openssl extension. The following is a basic […]