Password Strength

OWASP password strength validation

MIT License

Try the API

{
  "errors": [
    "The password must contain at least one lowercase letter.",
    "The password must contain at least one uppercase letter.",
    "The password must contain at least one special character."
  ],
  "failed_tests": [
    3,
    4,
    6
  ],
  "is_passphrase": false,
  "optional_test_errors": [
    "The password must contain at least one lowercase letter.",
    "The password must contain at least one uppercase letter.",
    "The password must contain at least one special character."
  ],
  "optional_tests_passed": 1,
  "passed_tests": [
    0,
    1,
    2,
    5
  ],
  "required_test_errors": [],
  "strong": false
}

Install & Use

Use

curl -X POST -d '{"password":"12345","min_length":5}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/jhurliman/PasswordStrength/0.1.0