Title: wp-bcrypt
Author: harrym
Published: <strong>2014 年 6 月 5 日</strong>
Last modified: 2014 年 6 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-bcrypt.svg)

# wp-bcrypt

 作者：[harrym](https://profiles.wordpress.org/harrym/)

[下载](https://downloads.wordpress.org/plugin/wp-bcrypt.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-bcrypt/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-bcrypt/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-bcrypt/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-bcrypt/#developers)

 [支持](https://wordpress.org/support/plugin/wp-bcrypt/)

## 描述

WordPress uses phpass to store passwords. Because WordPress has to work everywere,
it uses the portable version of phpass,
 which uses MD5 to hash passwords. MD5 is
not a very good hashing algorithm for passwords, because it’s relatively fast.

This plugin switches over to bcrypt, which is the algorithm recommended by phpass,
and is a much better option for password
 storage because it is much slower to produce.
This makes it much harder for an attacker who’s managed to access your hashed passwords
to obtain plain text passwords by brute-forcing, or by trying passwords from a dictionary.

**Note: this plugin requires PHP 5.3.0 or newer**

Be aware that if you use this plugin and then move to a host that does not support
bcrypt, you will need to reset any user
 account that you want to log in with.

## 安装

 1. Upload the `wp-bcrypt` directory to the `wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  How do you change the hashes?

Users’ hashes are changed to bcrypt when they first login in after the plugin is
activated. All of WordPress’s built-in functions
 will use bcrypt too, when intially
creating an account, changing your password, or adding a password to a post.

  What happens if I deactivate the plugin?

As long as you have bcrypt support (PHP 5.3.0 or newer) WordPress will happily continue
checking passwords that are hashed using
 bcrypt. Everything should work fine. But
any new passwords you hash (for a new account, or changing an existing account) 
will be made using MD5.

## 评价

![](https://secure.gravatar.com/avatar/1a0fd27bc4b3c3ee44286d05e3abc7a721b051cca8f1a4d43571e67ab1622319?
s=60&d=retro&r=g)

### 󠀁[Is it work with wordpress 4.9?](https://wordpress.org/support/topic/is-it-work-with-wordpress-4-9/)󠁿

 [momosampaii](https://profiles.wordpress.org/momosampaii/) 2017 年 12 月 2 日

Is it work with wordpress 4.9? Thanks

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/wp-bcrypt/reviews/)

## 贡献者及开发者

「wp-bcrypt」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ harrym ](https://profiles.wordpress.org/harrym/)

[帮助将「wp-bcrypt」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-bcrypt)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-bcrypt/)，查看[SVN仓库](https://plugins.svn.wordpress.org/wp-bcrypt/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wp-bcrypt/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-bcrypt/)。

## 更新日志

#### 1.0.1

 * Readme improvements

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.4 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-bcrypt/)
 * 标签
 * [passwords](https://cn.wordpress.org/plugins/tags/passwords/)[security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-bcrypt/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/wp-bcrypt/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-bcrypt/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-bcrypt/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-bcrypt/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-bcrypt/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-bcrypt/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-bcrypt/reviews/)

## 贡献者

 *   [ harrym ](https://profiles.wordpress.org/harrym/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-bcrypt/)