Re: [PHP] Crypting Passwords for storage.

2003-03-15 Thread Justin French
Commonly, you don't need to encrypt it. just md5() the password before inserting it, so you only store the md5'd password. then, to check on login, md5() the password they enter into a form... if they match, then they are the same. heaps less code, no need to mycrypt libraries to be installed,

[PHP] Crypting Passwords for storage.

2003-03-13 Thread Philip J. Newman
I have a user admin for a site, how ever passwords are stored in plane text. Is there away to crypt and then read the crypt when verifying that string vs the plane text in the password box? -- Philip J. Newman. Head Developer [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Crypting Passwords for storage.

2003-03-13 Thread Brad Bonkoski
What about using the md5() function, and store them that way. Then when one is sent to the server encrypt it and so a string compare on the two encrypted text strings. Like strings encrypted with md5 will result in the same encrypted string. Of course there is no way to decrypt them. This is