CVS update: php3/doc/functions
| From: | sas | Date: | Tue, 04 May 1999 15:37:45 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5364@lists.php.net to get a copy of this message | ||
Date: Tuesday May 4, 1999 @ 11:37
Author: sas
Update of /repository/php3/doc/functions
In directory php:/tmp/cvs-serv16620/functions
Modified Files:
mcrypt.sgml
Log Message:
some references, installation docu
Index: php3/doc/functions/mcrypt.sgml
diff -u php3/doc/functions/mcrypt.sgml:1.5 php3/doc/functions/mcrypt.sgml:1.6
--- php3/doc/functions/mcrypt.sgml:1.5 Tue May 4 10:51:49 1999
+++ php3/doc/functions/mcrypt.sgml Tue May 4 11:37:45 1999
@@ -4,7 +4,7 @@
<partintro>
<para>
- These functions are intended for work with <ulink
+ These functions are intended to work with <ulink
url="&url.mcrypt;">mcrypt</ulink>.
<para>
@@ -41,7 +41,6 @@
</programlisting>
</example>
- <para>
This example will give you the encrypted data as a string in
$encrypted_data.
@@ -112,7 +111,7 @@
<listitem><simpara>
MCRYPT_TWOFISH (for older mcrypt 2.x versions)
<listitem><simpara>
- MCRYPT_TWOFISH128
+ MCRYPT_TWOFISH128 (TWOFISHxxx are available in newer 2.x versions)
<listitem><simpara>
MCRYPT_TWOFISH192
<listitem><simpara>
@@ -197,6 +196,9 @@
<function>mcrypt_get_block_size</function> takes one argument, the
<parameter>cipher</parameter> and returns the size in bytes.
+ <para>
+ See also: <function>mcrypt_get_key_size</function>
+
</refsect1>
</refentry>
@@ -220,6 +222,9 @@
<function>mcrypt_get_key_size</function> takes one argument, the
<parameter>cipher</parameter> and returns the size in bytes.
+ <para>
+ See also: <function>mcrypt_get_block_size</function>
+
</refsect1>
</refentry>
@@ -274,7 +279,7 @@
<refsect1>
<title>Description</title>
<funcsynopsis>
- <funcdef>int <function>mcrypt_ecb</function></funcdef>
+ <funcdef>int <function>mcrypt_cbc</function></funcdef>
<paramdef>int <parameter>cipher</parameter></paramdef>
<paramdef>string <parameter>key</parameter></paramdef>
<paramdef>string <parameter>data</parameter></paramdef>
@@ -283,7 +288,7 @@
</funcsynopsis>
<para>
- <function>mcrypt_ecb</function> encrypts or decrypts (depending on
+ <function>mcrypt_cbc</function> encrypts or decrypts (depending on
<parameter>mode</parameter>) the <parameter>data</parameter> with
<parameter>cipher</parameter> and <parameter>key</parameter> in CBC
cipher
mode and returns the resulting string.
@@ -304,6 +309,12 @@
<para>
<parameter>iv</parameter> is the optional initialization vector.
+
+ <para>
+ See also:
+ <function>mcrypt_cfb</function>,
+ <function>mcrypt_ecb</function>,
+ <function>mcrypt_ofb</function>
</refsect1>
</refentry>
@@ -346,6 +357,12 @@
<para>
<parameter>iv</parameter> is the initialization vector.
+
+ <para>
+ See also:
+ <function>mcrypt_cbc</function>,
+ <function>mcrypt_ecb</function>,
+ <function>mcrypt_ofb</function>
</refsect1>
</refentry>
@@ -384,6 +401,12 @@
<para>
<parameter>mode</parameter> is MCRYPT_ENCRYPT or MCRYPT_DECRYPT.
+
+ <para>
+ See also:
+ <function>mcrypt_cbc</function>,
+ <function>mcrypt_cfb</function>,
+ <function>mcrypt_ofb</function>
</refsect1>
</refentry>
@@ -426,6 +449,12 @@
<para>
<parameter>iv</parameter> is the initialization vector.
+
+ <para>
+ See also:
+ <function>mcrypt_cbc</function>,
+ <function>mcrypt_cfb</function>,
+ <function>mcrypt_ecb</function>
</refsect1>
</refentry>
--
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