RE: [PHP-DB] Decrypting PASSWORD() from MySQL

From: Date: Wed, 19 Dec 2001 20:26:50 +0000
Subject: RE: [PHP-DB] Decrypting PASSWORD() from MySQL
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-15119@lists.php.net to get a copy of this message
Thanks for the suggestions. I guess I can try to: A) Store the password in plaintext if I need to retrieve the password. B) Store the password using PASSWORD() and then generate a new random password if needed, replacing the old password. C) Look into mcrypt, ENCODE()/DECODE(), encipher/decipher Thanks, Zach -----Original Message----- From: ted@php.net [mailto:ted@php.net] Sent: Wednesday, December 19, 2001 12:56 PM To: Zach Curtis Cc: php-db@lists.php.net Subject: RE: [PHP-DB] Decrypting PASSWORD() from MySQL Yet another example of ted's out-to-lunchness... Use the mcrypt functions on the password...

« previous php.db (#15119) next »