Recently I upraded to Ubuntu 16.04 and PHP7. I have encrypt and decrypt methods. It was working on previous version.
Now I have problem while decrypting the string. The error says
Warning: mcrypt_decrypt(): Key of size 21 not supported by this algorithm
I have done necessary steps like installing mcrypt extensions and adding extension in php.ini