DEV Community

Adam Mukhriz
Adam Mukhriz

Posted on

Password Generator

Just a simple password generator for you according to your own length

Latest comments (4)

Collapse
 
getsec profile image
Nathan Getty

Probably should move to pass phrases.

Four random words with spaces. As long as you have an upper a lower and some spaces, you have a pretty good password.

10 digits: 0123456789
26 lower case letters: abcdefghijklmnopqrstuvwxyz
26 upper case letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ
33 special characters: `~!@#$%&*()-_=+[]{}|;':",./<>?

So you have a character space of 95 unique characters per length.
So, lets say you have a 16 character password. 1695 = 2.46e114 a whole lot of possibilities. So, it should take that 185730513190 years roughly to brute force. Someone please let me know if I'm wrong.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.