openssl - Problem in decrypting WeChat applet user information in php7.1.3 version
黄舟
黄舟 2017-05-16 13:00:26
0
1
495

In the WeChat applet, user information needs to be decrypted. The decryption code officially provided by WeChat uses the decryption method related to mcrypt, but mcrypt is abandoned in php7.1.and higher versions. If php If the version is 7.1.or higher, decryption will fail. Is there a good alternative to solve this problem? Because the PHP version on my server is 7.1.3 and the server is running, there is no way to lower the PHP version. Want to find a better solution?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
Ty80

I have never used mcrypt, but mcrypt and openssl are two class libraries. I don’t know why you added the openssl label to the question label. I don’t know if you have tried the corresponding function of openssl.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template