2018-07-13 admin


什么是jquery.complexify.js,JavaScript library for inform users of password strength


Websites have a responsibility to accurately inform users of password strength, both to better secure data, and to educate about users of what constitutes a good password.

Complexify aims to provide a good measure of password complexity for websites to use both for giving hints to users in the form of strength bars, and for casually enforcing a minimum complexity for security reasons.

This plugin only provides client-side validation, and should be combined with some server-side sanity checking. If you want a full-blown Complexify implementation for the server, check out the list of ports.

For more information, a demo, documentation, and the motivation behind Complexify, visit the website.


You can install this by using npm or bower

bower install jquery.complexify
npm install jquery.complexify@0.5.2


Contributions are always welcome! If you’re uncertain about something, open a PR and we can discuss. Always feel free to ping me for an update on a merge, reminding me isn’t rude, it’s helpful.

Alternative Implementations

Several people have kindly open-sourced their implementations of this algorithm in other languages:

This code is distributed under the WTFPL v2 licence.


转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]