RE: [PEAR] Re: Wolfram's Auth-1.3.3

From: Date: Fri, 11 Jul 2003 00:18:55 +0000
Subject: RE: [PEAR] Re: Wolfram's Auth-1.3.3
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6558@lists.php.net to get a copy of this message
Thankyou Thomas, have it working now. Regards, Joseph > -----Original Message----- > From: news [mailto:news@main.gmane.org]On Behalf Of Thomas Watz > Sent: Friday, 11 July 2003 1:20 AM > To: pear-general@lists.php.net > Subject: [PEAR] Re: Wolfram's Auth-1.3.3 > > > 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 > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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