I have some old data that was encrypted using PHP's mcrypt functions. The site is now on PHP 7.1, which means we're hitting deprecation errors. I would like to migrate to use the openssl functions (which seems to be the current recommended approach), but I don't know how to reliably decrypt the legacy encrypted data.
Is there a reasonably easy way to accomplish this?