I want to implement a salt into my login system but am a bit confused on how this is supposed to work. I can\'t understand the logic behind it. I understand md5 is a one-way
You don't get the password out for comparison. You encrypt the password when they attempt a login and compare the stored value with the newly encrypted value.