时间:2021-07-01 10:21:17 帮助过:4人阅读
<?php $encryption = "username"; echo base64_encode ($encryption);//echo "dXNlcm5hbWU= "; echo "<br>"; echo urlencode("http://".$encryption);//echo " http%3A%2F%2Fusername "; echo "<br>"; echo sha1($encryption);//echo "249ba36000029bbe97499c03db5a9001f6b734ec" echo "<br>"; ?>
记录它们的大概长相,以便日后遇到类的处理能够很快辨别出来。
更多php中可能用来加密字符串的函数相关文章请关注PHP中文网!