Open Source Library For Easily Evaluating Password Strength

Posted on

  •  
  •  
  •  
  •  
  •  

A couple of days ago I mentioned a nice library for validating strings and numbers – one validator not included was a password strength validator.

Here’s an open source library called Navajo from Mattt Thompson that provides a number of features for validating passwords and evaluating strength.

There are a number of validation rules available as stated in the readme:

– Allowed Characters
– Required Characters (e.g. lowercase, uppercase, decimal, symbol)
– Non-Dictionary Word (iOS only)
– Minimum / Maximum Length
– Predicate Match
– Regular Expression Match
– Block Evaluation

For the password evaluation you can adjust the strength of the evaluation.

Here’s an animation from the readme showing the included Navajo example in action:

Navajo

You can find Navajo on Github here.

A nice library for password requiring apps.


  •  
  •  
  •  
  •  
  •