Re: Displaying Password

From: Date: Tue, 22 Dec 2009 22:49:24 +0000
Subject: Re: Displaying Password
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-46730@lists.php.net to get a copy of this message
Hi Karl, > > Yes you are correct. I do not store a plan text password. Great stuff - so many systems I've seen use plain-text passwords it's little wonder there's so much data theft. > If you cant read the encrypted text, you cant decrypt it right? Wrong. There are two-way encryption methods requiring the use of a common key, and an initialization vector for some protocols - see the mcrypt library which PHP can use (I had a play around with it quite recently.) http://uk2.php.net/manual/en/function.mcrypt-decrypt.php Regards, Andy

« previous php.db (#46730) next »