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 all done on server
side though, so perhaps you should utilize SSL to send them over the internet.
HTH
-Brad

"Philip J. Newman" wrote:

> 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 (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to