I know this isn't a great title and i'm not expecting anyone to actually know the specifics.
I'm referring specifically to PHP's md5 function that changes the password to a 32bit string, i think...
Anyway, If I have a password such as 'typewriter' will the md5 function always encode it to the exact same string? If so, surely it is very easy to just work out what all the words are encoded to and find someone's password? If there's a function to encode a word surely there could be a function to quickly decode it...
What is the safest way to encode a users password, i read about using the salt method to append another string to the users password, but surely if they can decode the password they can decode the salt to?
Thanks For Your Time, i look forwards to your suggestions.
P.S not sure it's going to be easy to award a winner for this as its a fairly open question.