No description
Find a file
2017-08-05 21:55:17 +02:00
jsPasswordChecker.js first commit 2017-08-05 21:46:29 +02:00
LICENSE Initial commit 2017-08-05 21:42:40 +02:00
README.md Update README.md 2017-08-05 21:55:17 +02:00
test.html first commit 2017-08-05 21:46:29 +02:00
testcases.js first commit 2017-08-05 21:46:29 +02:00

jsPasswordChecker

This is a little tool I wrote for a friend of mine to determine if certain password criteria are met.

How to Use

Just include the file (jsPasswordChecker.js) to your project and then:

var checker = new PasswordChecker({
  // add criteria here
});
checker.check(password);

Simple as that.

Criteria Object

In the current version the following criteria can be set:

  • minLength
  • maxLength
  • containsNumbers
  • containsLowerCaseCharacters
  • containsUpperCaseCharacters
  • containsWhiteSpaces
  • containsSpecialCharacters
  • dictionary
  • maxCharacterRepetition