{"id":15757078,"url":"https://github.com/jongha/strongpassword-js","last_synced_at":"2025-03-31T08:26:26.103Z","repository":{"id":16011638,"uuid":"18755107","full_name":"jongha/strongpassword-js","owner":"jongha","description":"Password strength is a measure of the effectiveness of a password in resisting guessing and brute-force attacks. In its usual form, it estimates how many trials an attacker who does not have direct access to the password would need, on average, to guess it correctly. The strength of a password is a function of length, complexity, and unpredictability.  Strongpassword-js is strong password generator. The password of generated by this library contained numbers, lower-characters, upper-characters and special characters. This library does not protect your password safety. But, If you are a software engineer, you can offer a strong password to your customers using this library.","archived":false,"fork":false,"pushed_at":"2014-08-01T09:58:33.000Z","size":368,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T07:59:15.401Z","etag":null,"topics":["brute-force-attacks","estimate","javascript","password-safety","password-strength","special-characters","strongpassword-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"wikimedia/mediawiki-extensions-MsCalendar","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jongha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-14T09:21:40.000Z","updated_at":"2016-05-03T07:58:54.000Z","dependencies_parsed_at":"2022-08-29T14:52:05.001Z","dependency_job_id":null,"html_url":"https://github.com/jongha/strongpassword-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fstrongpassword-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fstrongpassword-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fstrongpassword-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fstrongpassword-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongha","download_url":"https://codeload.github.com/jongha/strongpassword-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246438619,"owners_count":20777458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brute-force-attacks","estimate","javascript","password-safety","password-strength","special-characters","strongpassword-js"],"created_at":"2024-10-04T09:04:09.290Z","updated_at":"2025-03-31T08:26:26.078Z","avatar_url":"https://github.com/jongha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strongpassword-js\n\n[![Build Status](https://travis-ci.org/jongha/strongpassword-js.png?branch=master)](https://travis-ci.org/jongha/strongpassword-js)\n[![Coverage Status](https://coveralls.io/repos/jongha/strongpassword-js/badge.png)](https://coveralls.io/r/jongha/strongpassword-js)\n[![Dependency Status](https://gemnasium.com/jongha/strongpassword-js.png)](https://gemnasium.com/jongha/strongpassword-js)\n\nPassword strength is a measure of the effectiveness of a password in resisting guessing and brute-force attacks. In its usual form, it estimates how many trials an attacker who does not have direct access to the password would need, on average, to guess it correctly. The strength of a password is a function of length, complexity, and unpredictability.\n\nStrongpassword-js is strong password generator. The password of generated by this library contained numbers, lower-characters, upper-characters and special characters. This library does not protect your password safety. But, If you are a software engineer, you can offer a strong password to your customers using this library.\n\n## Description\n\n```\nget([size])\n```\n\nReturn the strong password.\n\n* size\n * strong password size, default 15.\n\n\n```\nisstrong([password], [threshold])\n```\n\nValidate password is strong\n\n* password\n * Password for valication.\n* threshold\n * Threshold: min-length for strong password (default: 15).\n \n## Usage\n\nInclude strongpassword.min.js script file in your html page.\n\n```\n\u003cscript src=\"./dist/strongpassword.min.js\"\u003e\u003c/script\u003e\n```\n\n## Sample\n\n### Generate safe password\n\n```\nvar passwd = strongpassword.get(); // sample output is \";[1rS2}l`Pb4F?~\"\n```\n\n```\nvar passwd = strongpassword.get(20); // sample output is \"8aD?\u0026Pf|!0l7)I/2_Cw\u003e\"\n```\n\n### Valicate safe password\n\n```\nvar safe = strongpassword.issafe(\"8aD?\u0026Pf|!0l7)I/2_Cw\u003e\"); // safe: true\n```\n\n#### Usage min-length threshold parameter\n\n```\nvar safe = strongpassword.issafe(\"8aD?\u0026Pf|!0l7)I/2_Cw\u003e\", 10); // safe: true\n```\n\n```\nvar safe = strongpassword.issafe(\"8aD?\u0026Pf|!0l7)I/2_Cw\u003e\", 25); // safe: false\n```\n\n## License\n\nstrongpassword-js is available under the terms of the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fstrongpassword-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongha%2Fstrongpassword-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fstrongpassword-js/lists"}