CVS update: php3/doc/functions

From: Date: Wed, 31 Mar 1999 04:26:11 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-4851@lists.php.net to get a copy of this message
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@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4851) next »