Password Generator App Using TypeScript, JS Crypto and zxcvbn
Design comparison
Solution retrospective
This was a fun project to delve into the realm of JavaScript crypto. It was fun to think of the best way to generate a truly random password that can have varying character types. I learned how to style an input range slider as well as checkboxes with CSS. One thing I'm not satisfied with is, while it adheres to the design, I'm not sure I like that the password just get cut off when character length is too long. I also don't think shrinking the text is the way to go.
If you have any other constructive feedback or comments, all is welcome!
Community feedback
- @Chanda-AbdulPosted about 2 years ago
Great work! I like that you disabled the checkbox deselect when only one box is selected, and your styling is A+.
Have you considered putting a limit on the password length? Do you think that a user would need a password that is 50 characters long? If you look at other password generators the generally limit password length to 15-30 characters. A 30 character password with lowercase, uppercase, numbers and symbols is pretty secure, and additional length may not be necessary.
0@aaron-romanickPosted about 2 years ago@Chanda-Abdul Thank you for the kind words of feedback!
You're right, I could just make the maximum possible length of the password shorter. However, while it might technically be secure enough at 30 characters, I know password managers I've used in the past have let you go well into 90+ characters if you choose to. I don't think the developer should put constraints on functionality just because she or he can't think of a good way to design around it.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord