CRYPT Password method
Just been having a peek through the code, very interesting, and fairly easy to follow!
However, i have a question regarding the method by which passwords are stored...
If I use the same password, I can have a different 'password' that gets stored in the database, for example...
A Password of 'test' could return...
And some others.
Now obviously this isn't a problem as it works a treat, and i wouldn't dream of criticising the work on this software. But how does this work? When a user logs on to the email, does it keep trying different possibilities until it's matched? I'm clearly not understanding the method!
I'm more just curious as to why this approach was chosen (for my own learning), and what it's actually called...