CVS update: php3/doc/functions

From: Date: Tue, 22 Sep 1998 15:46:44 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-1398@lists.php.net to get a copy of this message
Date: Tuesday September 22, 1998 @ 11:46 Author: rasmus Update of /repository/php3/doc/functions In directory asf:/export/home/rasmus/php3/doc/functions Modified Files: strings.sgml Log Message: Document crypt changes Index: php3/doc/functions/strings.sgml diff -c php3/doc/functions/strings.sgml:1.35 php3/doc/functions/strings.sgml:1.36 *** php3/doc/functions/strings.sgml:1.35 Fri Sep 18 08:56:17 1998 --- php3/doc/functions/strings.sgml Tue Sep 22 11:46:42 1998 *************** *** 105,116 **** standard Unix <abbrev>DES</abbrev> encryption method. Arguments are a string to be encrypted and an optional two-character salt string to base the encryption on. See the Unix man page for your ! crypt function for more information. If you do not have a crypt ! function on your Unix system, you can use Michael Glad's public ! domain UFC-Crypt package which was developed in Denmark and hence ! not restricted by US export laws as long as you ftp it from an ! non-US site. ! <para> There is no decrypt function, since <function>crypt</function> uses a one-way algorithm. </refsect1> --- 105,125 ---- standard Unix <abbrev>DES</abbrev> encryption method. Arguments are a string to be encrypted and an optional two-character salt string to base the encryption on. See the Unix man page for your ! crypt function for more information. ! <simpara> ! If the salt argument is not provided, it will be randomly generated ! by PHP. ! <simpara> ! Some operating systems support more than one type of encryption. ! In fact, sometimes the standard DES encryption is replaced by an ! MD5 based encryption algorithm. The encryption type is triggered by ! the salt argument. At install time, PHP determines the capabilities ! of the crypt function and will accept salts for other encryption ! types. If no salt is provided, PHP will auto-generate a standard ! 2-character DES salt by default unless the default encryption type ! on the system is MD5 in which case a random MD5-compatible salt ! is generated. ! <simpara> There is no decrypt function, since <function>crypt</function> uses a one-way algorithm. </refsect1> -- 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 (#1398) next »