目前我知道的加密方式,公钥私钥方式加密强度最大,注意升级openssl组件,修复心脏出血漏洞
http://php.net/manual/en/function.openssl-public-encrypt.php
公钥可以公开,对内容进行加密,存在cookie等其他地方,私钥一定好好保存,解密内容全靠他了。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn