PHP 自带的加密解密函数
目前经常使用的加密函数有:md5(), sha1(), crypt(), base64_encode(), urlencode() 。
其中 md5(), sha1(), crypt() 是不可逆的加密方式。base64_encode() ,urlencode() 是可逆的加密方式。分别对应的解密函数为:base64_decode(), urldecode()。
相关函数
hash_equals
本文共 264 字,大约阅读时间需要 1 分钟。
目前经常使用的加密函数有:md5(), sha1(), crypt(), base64_encode(), urlencode() 。
其中 md5(), sha1(), crypt() 是不可逆的加密方式。base64_encode() ,urlencode() 是可逆的加密方式。分别对应的解密函数为:base64_decode(), urldecode()。
相关函数
hash_equals
转载于:https://www.cnblogs.com/xuey/p/11580539.html
转载地址:https://blog.csdn.net/weixin_30402343/article/details/102092059 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!