While at the Gym the other day, I was working with my combination lock, and realized something that would be useful to me as a programmer. To wit, my combination is three seperate sets of numbers that either sound alike, or have some other relation that makes them easy to remember. For instance, 5-15-25, 7-17-2, 6-24-5. These examples seem easy to remember.
How would I implement something similar for passwords? Yes, they ought to be hard to crack, but they also should be easy for the end user to remember. Combination Locks do that with a mix of numbers that have similar sounds, and with numbers that have similar properties (7-17-23: All Prime, 17 rolls right off the tongue after 7, and 23 is another prime, and is (out of that set), the 'hard' one to remember).
Dog!Wolf
is easy to remember, but once an attacker knows that your website gives out that combination, it makes it infinitely easier to check.!@#$%^&*();'{}_+<>?,./
These punctuation marks, while appropriate for 'hard' passwords, do not have an 'easy to remember' sound.This question is language-agnostic, but if there's a specific implementation for C#, I'd be glad to hear of it.
A few users have said that 'this is bad password security'. Don't assume that this is for a website. This could just be for me to make an application for myself that generates passwords according to these rules. Here's an example.
The letters A-C-C-L-I-M-O-P 'flow', and they happen to be two regular words put together (Acclimate and Mop). Further, when a user says these letters, or says them as a word, it's an actual word for them. Easy to remember, but hard to crack (dictionary attack, obviously).
This question has a two-part goal:
The main algorithm for password generation contains a FOR loop, which does the following: generates a random number between 1 and 4 to choose the character set. once the set has been randomly selected, a random index will be generated for the selected character set.
You might want to look at:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With