A client-side web app that provides real-time password strength analysis with metrics like entropy, complexity, dictionary attack detection, and crack time estimation.

Stars

16

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-09

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers comprehensive, instant feedback on password strength entirely in the browser with no data sent to servers, making it both privacy-focused and educational.

Who it is for

  • Developers learning about password security
  • Students working on cybersecurity assignments
  • General users who want to check their passwords locally
  • Security enthusiasts evaluating password strength metrics

Use cases

  • Educational tool for understanding password strength components
  • Quick personal password check before using a new service
  • Demonstrating real-time analysis in web development courses
  • Integrating into a signup form as a client-side validator (via customization)

Strengths

  • Real-time analysis updates as you type with smooth animations
  • Includes Shannon entropy, character pool, dictionary attack detection, and crack time estimation
  • 100% local processing – no network requests, no data storage, works offline
  • Responsive design works on desktop, tablet, and mobile devices

Considerations

  • Dictionary only covers 100+ common passwords – may miss some weak variations
  • Crack time estimation assumes a fixed 1 billion attempts/second – less accurate for modern hardware or GPU-based attacks
  • No server-side component – cannot be used for enforcing password policies across accounts

README quick start

🔐 Password Strength Analyzer - Web Version

A beautiful, modern web-based password strength analyzer with real-time analysis as you type!

🌐 Web Interface Features

✨ Real-Time Analysis

  • Instant feedback as you type each character
  • Smooth animations and transitions
  • Visual progress bar (0-100 score)
  • Color-coded status indicators
  • Show/Hide password toggle
  • Responsive design - works on all devices

📊 Analysis Metrics

1. Overall Score (0-100)

  • Visual progress bar with gradient colors
  • Status: Very Weak → Weak → Moderate → Strong → Very Strong

2. Length Analysis

  • Real-time length checking
  • Recommendations for stronger passwords

3. Complexity Analysis

  • Live indicators for character types:
    • ✓ Lowercase letters
    • ✓ Uppercase letters
    • ✓ Digits
    • ✓ Special characters
  • Instant suggestions for missing types

4. Entropy Analysis

  • Shannon Entropy calculation
  • Theoretical Entropy based on character pool
  • Character pool size display

5. Dictionary Attack Detection

  • Checks against 100+ common passwords
  • Detects simple variations
  • Identifies patterns (sequences, keyboard patterns, etc.)
  • Visual warnings for vulnerabilities

6. Crack Time Estimation

  • Estimates brute force attack time
  • Based on 1 billion attempts/second

🚀 How to Run

Option 1: Double-Click (Easiest)

  1. Navigate to the project folder
  2. Double-click index.html
  3. Opens in your default browser

Option 2: Right-Click

  1. Right-click on index.html
  2. Select "Open with" → Your preferred browser

Option 3: Using Python Server

# Navigate to project directory
cd "C:\Users\dell\Documents\projects\CS  assignment"

# Start a local server (Python 3)
python -m http.server 8000

# Open browser and go to:
# http://localhost:8000

Option 4: Using Live Server (VS Code)

  1. Install "Live Server" extension in VS Code
  2. Right-click index.html
  3. Select "Open with Live Server"

📁 Web Files Structure

CS assignment/
│
├── index.html          # Main HTML structure
├── styles.css          # Beautiful modern styling
├── script.js           # Real-time analysis logic
│
├── Python modules (optional):
├── entropy_calculator.py
├── dictionary_checker.py
├── analyzer.py
├── gui.py
└── main.py

🎨 Interface Sections

1. Header

  • Gradient title with modern design
  • Subtitle ex

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482