There are some huge legacy systems whose dependencies on PHPs\' mcrypt
are extremely important and vital (including the data storage in database). I need to find a
Note that no code or information about the mcrypt
options/code.
Probably the only problems non-standard null padding used by mcrypt
. To decrypt with another implementation that does not support null padding (it is non-standard) just decrypt with no padding and then remove the null padding.
If you also must encrypt the same as mcrypt
just add null padding and encrypt with no-padding.
Really consider migrating the current encryption or adding some flag that the encryption is (or not) mcrypt
compatible.