Skip to content
Advertisement

Tag: mcrypt

AES/CBC/PKCS5 Padding | Alternate to mcrypt_get_block_size() in Php OpenSSL

Problem Statement: I’m trying to integrate API which AES/CBC/PKCS5 Padding. After some research I found the implementation on following article. However, In this article there were using mcrypt which is deprecated and removed from PHP 7.2. Hence, I’m looking to modify above implementation in openssl. There is function pkcs5_pad for PKCS5 padding the data which require parameter as data and

mcrypt is deprecated, what is the alternative?

The mcrypt-extension is deprecated will be removed in PHP 7.2 according to the comment posted here. So I am looking for an alternative way to encrypt passwords. Right now I am using something like I need your opinion for the best/strongest way to encrypt passwords, the encrypted password should of course supported by PHP 7.xx and should also be decryptable

Mcrypt installed but doesn’t show up on PHPINFO

I think I managed to install mcrypt lib. The files are in place, but it looks like the library doesn’t run at all. Tried to add: to PHP.INI; no good. Any help? Answer Have you tried restarting Apache? It won’t recognise the new installed module until you do so AFAIK. Also, you’ve written you “think” you’ve installed it – did

Advertisement