Skip to content

Add password strength evaluation script#1

Open
Satwikdas122 wants to merge 1 commit into
mainfrom
codex/develop-password-strength-testing-tool
Open

Add password strength evaluation script#1
Satwikdas122 wants to merge 1 commit into
mainfrom
codex/develop-password-strength-testing-tool

Conversation

@Satwikdas122

Copy link
Copy Markdown
Owner

Motivation

  • Provide a small, standalone tool to evaluate password strength by analyzing length, character variety, repeated characters, sequential patterns, and common passwords, and to give actionable suggestions.
  • Make the tool available as a simple CLI script and document it in the repository README.md so it can be easily discovered and used.

Description

  • Add password_strength.py, a CLI tool that exposes evaluate_password and returns a StrengthResult dataclass with a numeric score, level, and suggestions.
  • Implement scoring heuristics in _classify including length scoring, character-class variety, unique-character ratio, common-password checks, and sequential-character detection via _has_sequence.
  • Provide human-friendly strength levels (Very WeakVery Strong) and build a small interactive main() to print results and suggestions.
  • Update README.md to mention the new password-strength tool and point to password_strength.py.

Testing

  • No automated tests were run for this change.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant