-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when use php 7 #26
Comments
In PHP 7, MCrypt is deprecated... A workaround is to use openssl_* instead :
|
Thanks @Goufalite for the suggestion. Would you like to create a pull request to contribute with the code? |
I have to check something with the ZERO_PADDING option which messes with the result, then I'll make the pull request |
hi @Goufalite |
Look at the code tab on top, there's a Java MCrypt class. I still have some leading NULL characters at the beginning so some trim might be in order to process the strings. |
i used that Java class but the results were not the same as your code results |
What were the results? |
hi
when use php version 7 not work and get error {main} thrown in MCrypt.php on line 11
please check this bug
thanks
The text was updated successfully, but these errors were encountered: