php crypt加密
<?php/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
// 设置密码
$password = 'test';
// 获取散列值,使用自动盐值
$hash = crypt($password);
echo $hash;
页:
[1]