sp_password()

  1. <?php
  2. $pw='simplewind';
  3. $afpw=sp_password($pw);//加密字符串
  4. echo $afpw;//输出加密后的字符串
  5. ?>