mervick / aes-everywhere

Aes Everywhere - Cross Language AES 256 Encryption Library (Bash, Powershell, C#, Dart, GoLang, Java, JavaScript, Lua, PHP, Python, Ruby, Swift)
Other
474 stars 169 forks source link

(PHP) Multiple Deprecated Warnings #3

Closed atishagrawal closed 6 years ago

atishagrawal commented 6 years ago

While executing your PHP Code, I am receiving several deprecated warnings, some of which are:

1. Deprecated: Function mcrypt_module_open()
2. Deprecated: Function mcrypt_generic_init()
3. Deprecated: Function mdecrypt_generic()
4. Deprecated: Function mcrypt_generic_deinit()
5. Deprecated: Function mcrypt_module_close()
mervick commented 6 years ago

it uses openssl_encrypt, any reference to mcrypt at all

atishagrawal commented 6 years ago

I have openssl installed on my system. But then why is the PHP code showing such deprecated warnings?

mervick commented 6 years ago

I have no idea why, but this file does not use mcrypt. Check your code, I think it use that somewhere else. Also please provide full stack trace with filenames and line numbers.

atishagrawal commented 6 years ago

Anyways, no problem bro. I have compiled my own Library