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

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.

评价

阅读所有4条评价

贡献者及开发者

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

贡献者

将“wp-bcrypt”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Readme improvements

1.0.0

  • Initial release