[PHP-DEV] CVS update: php3/doc/functions From: rasmus (php-dev <email protected>)
Date: 03/30/99

Date: Tuesday March 30, 1999 @ 23:26
Author: rasmus

Update of /repository/php3/doc/functions
In directory asf:/u/temp/cvs-serv29134/doc/functions

Modified Files:
        strings.sgml
Log Message:
Document crypt() capabilities

Index: php3/doc/functions/strings.sgml
diff -c php3/doc/functions/strings.sgml:1.60 php3/doc/functions/strings.sgml:1.61
*** php3/doc/functions/strings.sgml:1.60 Tue Mar 30 14:59:43 1999
--- php3/doc/functions/strings.sgml Tue Mar 30 23:26:10 1999
***************
*** 197,202 ****
--- 197,213 ----
          <simpara>
           The standard DES encryption <function>crypt</function> contains
           the salt as the first two characters of the output.
+ <simpara>
+ On systems where the crypt() function supports multiple encryption
+ types, the following constants are set to 0 or 1 depending on whether
+ the given type is available:
+ <itemizedlist>
+ <listitem><simpara>CRYPT_STD_DES - Standard DES encryption with a 2-char SALT</simpara></listitem>
+ <listitem><simpara>CRYPT_EXT_DES - Extended DES encryption with a 9-char SALT</simpara></listitem>
+ <listitem><simpara>CRYPT_MD5 - MD5 encryption with a 12-char SALT starting with $1$</simpara></listitem>
+ <listitem><simpara>CRYPT_BLOWFISH - Extended DES encryption with a 16-char SALT starting with $2$</simpara></listitem>
+ </itemizedlist>
+
      <simpara>
       There is no decrypt function, since <function>crypt</function>
       uses a one-way algorithm.

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>