A web-based application to generate secure and customizable passwords. Users can specify the length and character types (uppercase, lowercase, numbers, symbols) to include in the generated password.
- Smart Character Selection: Uses secure randomization with
crypto.getRandomValues() - Improved Character Sets:
- Removed ambiguous characters (e.g., l, 1, O, 0)
- Optimized symbols for maximum compatibility with auth systems (
!@#$%^&*-_+=)
- Guaranteed Character Types: Includes at least one character from each selected type
- 📜 View previously generated passwords
- 📅 Timestamp for each generated password
- 📋 One-click copy from history
- 💾 LocalStorage persistence between sessions
- ✅ Clean, intuitive interface
- 🎚️ Visual length indicator
- 🔄 Responsive design
- 🎨 Modern visual styling
- 📱 Mobile-friendly layout
- HTML5: Core structure and semantic markup
- CSS3/SCSS: Advanced styling with SCSS preprocessing
- JavaScript: Dynamic functionality and user interactions
- Custom Icon Fonts: Optimized icon delivery system
- Clone the repository:
git clone https://github.com/nvmwhoiam/password-generator.git
- Navigate to the project directory:
cd password-generator - Open
index.htmlin your web browser to view the application.
- Adjust length with the slider (8-128 characters)
- Select character types (uppercase, lowercase, numbers, symbols)
- Click "Generate" to create password
- Click "Copy" to copy to clipboard
- Click "History" to view password history
- Uses cryptographically secure randomization
- Shuffles password characters for better security
- HTML-encodes output for safety
- Strict length validation (8-128 chars)
- Requires at least one character type
- Animated history panel (open/close states)
- Visual feedback for copy actions
- Accessible button labels
- Responsive layout adjustments
- Modular function organization
- Clear variable naming
- Efficient DOM queries
- LocalStorage management for history
- Event delegation for dynamic elements
- More Secure Passwords:
- Avoids ambiguous characters
- Better character distribution
- Proper cryptographic randomization
- Better User Experience:
- Password history eliminates regeneration
- Clear visual feedback
- Intuitive controls
- More Reliable:
- Works with more authentication systems
- Fewer "invalid character" errors
- Consistent output formatting
- Password strength meter
- Custom character sets
- Export history as CSV
- Dark mode toggle
If you have any questions or need assistance, please do not hesitate to reach out. I apologize if any part of this setup is not clear; this is my first major project, and I am putting in continuous effort to improve it. Feel free to contact me at info@sadevworks.com or open an issue on the GitHub Repository.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Email: info@sadevworks.com
- Website: sadevworks.com
- GitHub: @nvmwhoiam
