Re: Wolfram's Auth-1.3.3

From: Date: Thu, 10 Jul 2003 15:49:42 +0000
Subject: Re: Wolfram's Auth-1.3.3
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6554@lists.php.net to get a copy of this message
Am Dienstag, 8. Juli 2003 08:28 schrieb Joseph Blythe: > Hello Everyone, > > I am using Wolfram Kriesing's Auth-1.3.3 PEAR package [...] > Also was wondering: > > 1) How would I use/encrypt passwords with the DB container, at the moment > it works but the passwords have to be plain text in the DB, also with the > File container how are the encrypted passwords generated ? > By default it does not use encrypted passwords, it is like: $options = array( [...], 'digest' => 'none'); If you specify md5 like: $options = array( [...], 'digest' => 'md5'); it encrypts password AND username with md5! But if you specify $options = array( [...], 'digest' => 'md5(\$password)'); it just encrypts the password with md5. Please note in addition that the table field has to be of length 32 at least. Hope that helps. Thomas

« previous php.pear.general (#6554) next »