选择语言 :

 Core_Member::_get_password_hash

获取一个新的密码hash值

string Core_Member::_get_password_hash( string $password )

参数列表

参数 类型 描述 默认值
$password string $password
返回值
  • string
File: ./core/classes/member.class.php
protected function _get_password_hash($password)
{
    $rand_code = $this->rand_code?$this->rand_code:'||$34#@_';

    return md5($this->username . $rand_code . $password);
}