onethink 系统函数中 生成随机加密key

it2022-06-29  72

<?php /** * 生成系统AUTH_KEY */ function build_auth_key(){ $chars = 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $chars .= '`~!@#$%^&*()_+-=[]{};:"|,.<>/?'; $chars = str_shuffle($chars); return substr($chars, 0, 40); } ?>

 

转载于:https://www.cnblogs.com/lizhaoyao/p/6113626.html


最新回复(0)