Mini Project

Secure Password Generator

Secure Password Generator

Build a password generator that creates multiple passwords from different configurations (strong, medium, simple). It must use character sets, enforce constraints, guarantee at least one number/symbol when enabled, and shuffle using the Fisher-Yates algorithm. Learn string manipulation, random module, list splicing, and algorithm implementation.

EditorPython · JSX
PreviewUpdates on Run Tests
Loading preview…
Tests
Should define CHARSETS dict with lower, upper, numbers, symbols
Should use random.choice or random.randint
Should implement Fisher-Yates shuffle
Should use list.insert() to insert required characters
Should have input validation (length check)
Should join list into final string password
Should use for loop or list comp for configs
Should use sum() with generator to count total