cvs: peardoc /en/package/authentication/auth intro.xml
| From: | Martin Jansen | Date: | Wed, 26 May 2004 17:17:38 +0000 |
| Subject: | cvs: peardoc /en/package/authentication/auth intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4106@lists.php.net to get a copy of this message | ||
mj Wed May 26 13:17:38 2004 EDT
Modified files:
/peardoc/en/package/authentication/auth intro.xml
Log:
* MD5 isn't the only encryption algorithm that can be used with Auth.
Bug: #770
http://cvs.php.net/diff.php/peardoc/en/package/authentication/auth/intro.xml?r1=1.7&r2=1.8&ty=u
Index: peardoc/en/package/authentication/auth/intro.xml
diff -u peardoc/en/package/authentication/auth/intro.xml:1.7
peardoc/en/package/authentication/auth/intro.xml:1.8
--- peardoc/en/package/authentication/auth/intro.xml:1.7 Wed Aug 13 12:01:00 2003
+++ peardoc/en/package/authentication/auth/intro.xml Wed May 26 13:17:38 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id="package.authentication.auth.intro">
<refnamediv>
<refname>Introduction</refname>
@@ -193,9 +193,13 @@
</programlisting>
<para>
These are the table and field names necessary for working
- authentication. The password column must be at least 32 characters
- long because we store passwords encrypted using md5() and that is
- the length of the values returned by md5().
+ authentication. When hashing the passwords with the MD5 algorithm,
+ which is the default encryption method in
+ <classname>PEAR::Auth</classname>, the password column must be at
+ least 32 characters long. When using another encryption method like
+ <acronym>DES</acronym> (<quote>UNIX
+ <command>crypt</command></quote>), the column size has to be changed
+ correspondingly.
</para>
</refsect1>
</refentry>