Java321技术网

 找回密码
 立即注册
搜索
热搜: centos
查看: 6106|回复: 0
打印 上一主题 下一主题

wordpress登录注册密码加密函数

[复制链接]

126

主题

126

帖子

815

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
815
跳转到指定楼层
楼主
发表于 2017-5-24 22:41:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
function wp_hash_password($password) {
    global $wp_hasher;

    if ( empty($wp_hasher) ) {
        // By default, use the portable hash from phpass
        $wp_hasher = new PasswordHash(8, true);
    }

    return $wp_hasher->HashPassword( trim( $password ) );
}

在文件:wp-includes/pluggable.php 这里面,包括注册登录的部分函数
--------------------------------------------------------------------------------------




回复

使用道具 举报

QQ|Archiver|手机版|小黑屋|Java321技术网   蜀ICP备15030946号-1

GMT+8, 2024-4-20 05:11 , Processed in 0.053138 second(s), 25 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表