jhurliman

jhurliman / PasswordStrength / 0.1.0

Password Strength

Royalty Free
OWASP password strength validation
Language
JavaScript
Metrics
API Calls - 25 Avg call duration - N/A
Permissions
The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT). Learn More

Run an Example

Input
Output
{
  "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 and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run jhurliman/PasswordStrength/0.1.0 -d '{"password":"12345","min_length":5}' --timeout 300
  
CLI Docs