CVS update: php3/doc/functions

From: Date: Sun, 02 May 1999 10:36:30 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5324@lists.php.net to get a copy of this message
Date: Sunday May 2, 1999 @ 6:36 Author: eschmid Update of /repository/php3/doc/functions In directory php:/tmp/cvs-serv20997/functions Modified Files: mcrypt.sgml Log Message: Please define the entity &url.mcrypt; in global.ent Index: php3/doc/functions/mcrypt.sgml diff -u php3/doc/functions/mcrypt.sgml:1.1 php3/doc/functions/mcrypt.sgml:1.2 --- php3/doc/functions/mcrypt.sgml:1.1 Sat May 1 10:40:36 1999 +++ php3/doc/functions/mcrypt.sgml Sun May 2 06:36:30 1999 @@ -8,26 +8,27 @@ url="&url.mcrypt;">mcrypt</ulink>. <para> - This is an interface to the mcrypt library. mcrypt supports a wide area of - block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, - SAFER-SK64,SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB - cipher modes. Additionally, it supports RC6 and IDEA which are considered - "non-free". + This is an interface to the mcrypt library. mcrypt supports a wide + area of block algorithms such as DES, TripleDES, Blowfish + (default), 3-WAY, SAFER-SK64,SAFER-SK128, TWOFISH, TEA, RC2 and + GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it + supports RC6 and IDEA which are considered "non-free". <para> To use it, get mcrypt-x.x.x.tar.gz from <ulink - url="ftp://argeas.cs-net.gr/pub/unix/mcrypt/">here</a> and follow the - included installation instructions. After compilation, copy lib/mcrypt.h to - /usr/local/include and lib/libmcrypt.a to /usr/local/lib. You need to - compile PHP with the --with-mcrypt parameter to enable this extension. + url="ftp://argeas.cs-net.gr/pub/unix/mcrypt/">here</ulink> and + follow the included installation instructions. After compilation, + copy lib/mcrypt.h to /usr/local/include and lib/libmcrypt.a to + /usr/local/lib. You need to compile PHP with the --with-mcrypt + parameter to enable this extension. <para> - mcrypt can be used to encrypt and decrypt using the above mentioned - ciphers. The four important mcrypt commands + mcrypt can be used to encrypt and decrypt using the above + mentioned ciphers. The four important mcrypt commands (<function>mcrypt_cfb</function>, <function>mcrypt_cbc</function>, - <function>mcrypt_ecb</function>, and <function>mcrypt_ofb</function>) can - operate in both modes which are named MCRYPT_ENCRYPT and MCRYPT_DECRYPT, - respectively. + <function>mcrypt_ecb</function>, and + <function>mcrypt_ofb</function>) can operate in both modes which + are named MCRYPT_ENCRYPT and MCRYPT_DECRYPT, respectively. <example> <title>Encrypt an input value with TripleDES in ECB mode</title> @@ -67,6 +68,7 @@ <listitem><simpara> OFB (output feedback) is comparable to CFB, but can be used in applications where error propagation cannot be tolerated. + </itemizedlist> <para> PHP does not support handling byte streams currently. Only complete strings -- 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 (#5324) next »