cvs: phpdoc /en/reference/mcrypt/functions mcrypt-cbc.xml mcrypt-cfb.xml mcrypt-create-iv.xml mcrypt-ecb.xml mcrypt-enc-get-algorithms-name.xml
mcrypt-enc-get-supported-key-sizes.xml mcrypt-encrypt.xml mcrypt-generic-deinit.xml mcrypt-generic-end.xml mcrypt-generic.xml
mcrypt-get-block-size.xml mcrypt-get-cipher-name.xml mcrypt-get-iv-size.xml mcrypt-get-key-size.xml mcrypt-list-algorithms.xml mcrypt-list-modes.xml
mcrypt-module-get-supported-key-sizes.xml mcrypt-module-is-block-algorithm-mode.xml mcrypt-module-is-block-algorithm.xml
mcrypt-module-is-block-mode.xml mcrypt-module-open.xml mcrypt-module-self-test.xml mcrypt-ofb.xml mdecrypt-generic.xml
| From: | Philip Olson | Date: | Mon, 19 May 2008 16:02:49 +0000 |
| Subject: | cvs: phpdoc /en/reference/mcrypt/functions mcrypt-cbc.xml mcrypt-cfb.xml mcrypt-create-iv.xml mcrypt-ecb.xml mcrypt-enc-get-algorithms-name.xml mcrypt-enc-get-supported-key-sizes.xml mcrypt-encrypt.xml mcrypt-generic-deinit.xml mcrypt-generic-end.xml mcrypt-generic.xml mcrypt-get-block-size.xml mcrypt-get-cipher-name.xml mcrypt-get-iv-size.xml mcrypt-get-key-size.xml mcrypt-list-algorithms.xml mcrypt-list-modes.xml mcrypt-module-get-supported-key-sizes.xml mcrypt-module-is-block-algorithm-mode.xml mcrypt-module-is-block-algorithm.xml mcrypt-module-is-block-mode.xml mcrypt-module-open.xml mcrypt-module-self-test.xml mcrypt-ofb.xml mdecrypt-generic.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1648@lists.php.net to get a copy of this message | ||
philip Mon May 19 16:02:49 2008 UTC
Modified files:
/phpdoc/en/reference/mcrypt/functions mcrypt-cbc.xml mcrypt-cfb.xml
mcrypt-create-iv.xml
mcrypt-ecb.xml
mcrypt-enc-get-algorithms-name.xml
mcrypt-enc-get-supported-key-sizes.xml
mcrypt-encrypt.xml
mcrypt-generic-deinit.xml
mcrypt-generic-end.xml
mcrypt-generic.xml
mcrypt-get-block-size.xml
mcrypt-get-cipher-name.xml
mcrypt-get-iv-size.xml
mcrypt-get-key-size.xml
mcrypt-list-algorithms.xml
mcrypt-list-modes.xml
mcrypt-module-get-supported-key-sizes.xml
mcrypt-module-is-block-algorithm-mode.xml
mcrypt-module-is-block-algorithm.xml
mcrypt-module-is-block-mode.xml
mcrypt-module-open.xml
mcrypt-module-self-test.xml
mcrypt-ofb.xml
mdecrypt-generic.xml
Log:
New doc style cleanup, markup changes only...
Example: <title>Description</title> to &reftitle.description;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml:1.8 Thu Feb 21 03:16:30 2008 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml Mon May 19 16:02:48 2008 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-cbc" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_cbc</refname> <refpurpose>Encrypt/decrypt data in CBC mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_cbc</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-cfb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_cfb</refname> <refpurpose>Encrypt/decrypt data in CFB mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_cfb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml:1.11 phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml:1.12 --- phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml:1.11 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.mcrypt-create-iv" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>mcrypt_create_iv</refname> <refpurpose>Create an initialization vector (IV) from a random source</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_create_iv</methodname> <methodparam><type>int</type><parameter>size</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-ecb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_ecb</refname> <refpurpose>Deprecated: Encrypt/decrypt data in ECB mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_ecb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-enc-get-algorithms-name" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_enc_get_algorithms_name</refname> <refpurpose>Returns the name of the opened algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_enc_get_algorithms_name</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> @@ -15,6 +15,10 @@ <para> This function returns the name of the algorithm. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_enc_get_algorithms_name</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-enc-get-supported-key-sizes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_enc_get_supported_key_sizes</refname> <refpurpose>Returns an array with the supported keysizes of the opened algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_enc_get_supported_key_sizes</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> @@ -19,6 +19,10 @@ <function>mcrypt_enc_get_key_size</function> are supported by the algorithm. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_enc_get_supported_key_sizes</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.9 phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.10 --- phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.9 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.mcrypt-encrypt" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_encrypt</refname> <refpurpose>Encrypts plaintext with given parameters</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_encrypt</methodname> <methodparam><type>string</type><parameter>cipher</parameter></methodparam> @@ -50,6 +50,10 @@ for an algorithm, the function issues a warning and uses an IV with all bytes set to '<literal>\0</literal>'. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_encrypt</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.27 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id='function.mcrypt-generic-deinit' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_generic_deinit</refname> <refpurpose>This function deinitializes an encryption module</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_generic_deinit</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-generic-end" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_generic_end</refname> <refpurpose>This function terminates encryption</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_generic_end</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-generic" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_generic</refname> <refpurpose>This function encrypts data</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_generic</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-get-block-size" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_block_size</refname> <refpurpose>Get the block size of the specified cipher</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>mcrypt_get_block_size</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-get-cipher-name" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_cipher_name</refname> <refpurpose>Get the name of the specified cipher</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_get_cipher_name</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> @@ -26,6 +26,10 @@ as an argument (libmcrypt 2.4.x or higher) and returns the name of the cipher or &false;, if the cipher does not exist. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_get_cipher_name</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.11 phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.12 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.11 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.mcrypt-get-iv-size" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_iv_size</refname> <refpurpose>Returns the size of the IV belonging to a specific cipher/mode combination</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>mcrypt_get_iv_size</methodname> <methodparam><type>string</type><parameter>cipher</parameter></methodparam> @@ -35,6 +35,10 @@ function as this uses the resource returned by <function>mcrypt_module_open</function>. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_get_iv_size</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-get-key-size" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_key_size</refname> <refpurpose>Get the key size of the specified cipher</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>mcrypt_get_key_size</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-list-algorithms" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_list_algorithms</refname> <refpurpose>Get an array of all supported ciphers</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_list_algorithms</methodname> <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam> @@ -22,6 +22,10 @@ where all algorithms are located. If not specifies, the value of the mcrypt.algorithms_dir &php.ini; directive is used. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_list_algorithms</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-list-modes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_list_modes</refname> <refpurpose>Get an array of all supported modes</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_list_modes</methodname> <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam> @@ -23,6 +23,10 @@ modes are located. If not specifies, the value of the mcrypt.modes_dir &php.ini; directive is used. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_list_modes</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml:1.5 phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml:1.6 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml:1.5 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.6 $ --> <refentry xml:id="function.mcrypt-module-get-supported-key-sizes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_get_supported_key_sizes</refname> <refpurpose>Returns an array with the supported keysizes of the opened algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_module_get_supported_key_sizes</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-module-is-block-algorithm-mode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_is_block_algorithm_mode</refname> <refpurpose>Returns if the specified module is a block algorithm or not</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_is_block_algorithm_mode</methodname> <methodparam><type>string</type><parameter>mode</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml:1.5 phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml:1.6 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml:1.5 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.6 $ --> <refentry xml:id="function.mcrypt-module-is-block-algorithm" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_is_block_algorithm</refname> <refpurpose>This function checks whether the specified algorithm is a block algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_is_block_algorithm</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-module-is-block-mode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_is_block_mode</refname> <refpurpose>Returns if the specified mode outputs blocks or not</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_is_block_mode</methodname> <methodparam><type>string</type><parameter>mode</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.12 phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.13 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.12 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.13 $ --> <refentry xml:id="function.mcrypt-module-open" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_open</refname> <refpurpose>Opens the module of the algorithm and the mode to be used</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>resource</type><methodname>mcrypt_module_open</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> @@ -32,6 +32,10 @@ these are not set, the default directories that are used are the ones that were compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_module_open</function> examples</title> @@ -54,6 +58,10 @@ strings as name for the cipher and mode, this only works when the extension is linked against libmcrypt 2.4.x or 2.5.x. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Using <function>mcrypt_module_open</function> in encryption</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-module-self-test" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_self_test</refname> <refpurpose>This function runs a self test on the specified module</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_self_test</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> @@ -22,6 +22,10 @@ The function returns &true; if the self test succeeds, or &false; when if fails. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_module_self_test</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-ofb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_ofb</refname> <refpurpose>Encrypt/decrypt data in OFB mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_ofb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml diff -u phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml:1.8 phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mdecrypt-generic" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mdecrypt_generic</refname> <refpurpose>Decrypt data</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mdecrypt_generic</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> @@ -18,6 +18,10 @@ can in fact be longer then the unencrypted string, due to the padding of the data. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mdecrypt_generic</function> example</title>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml:1.8 Thu Feb 21 03:16:30 2008 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-cbc.xml Mon May 19 16:02:48 2008 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-cbc" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_cbc</refname> <refpurpose>Encrypt/decrypt data in CBC mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_cbc</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-cfb.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-cfb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_cfb</refname> <refpurpose>Encrypt/decrypt data in CFB mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_cfb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml:1.11 phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml:1.12 --- phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml:1.11 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-create-iv.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.mcrypt-create-iv" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>mcrypt_create_iv</refname> <refpurpose>Create an initialization vector (IV) from a random source</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_create_iv</methodname> <methodparam><type>int</type><parameter>size</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-ecb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_ecb</refname> <refpurpose>Deprecated: Encrypt/decrypt data in ECB mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_ecb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-algorithms-name.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-enc-get-algorithms-name" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_enc_get_algorithms_name</refname> <refpurpose>Returns the name of the opened algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_enc_get_algorithms_name</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> @@ -15,6 +15,10 @@ <para> This function returns the name of the algorithm. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_enc_get_algorithms_name</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-enc-get-supported-key-sizes.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-enc-get-supported-key-sizes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_enc_get_supported_key_sizes</refname> <refpurpose>Returns an array with the supported keysizes of the opened algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_enc_get_supported_key_sizes</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> @@ -19,6 +19,10 @@ <function>mcrypt_enc_get_key_size</function> are supported by the algorithm. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_enc_get_supported_key_sizes</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.9 phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.10 --- phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml:1.9 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-encrypt.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.mcrypt-encrypt" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_encrypt</refname> <refpurpose>Encrypts plaintext with given parameters</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_encrypt</methodname> <methodparam><type>string</type><parameter>cipher</parameter></methodparam> @@ -50,6 +50,10 @@ for an algorithm, the function issues a warning and uses an IV with all bytes set to '<literal>\0</literal>'. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_encrypt</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-generic-deinit.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.27 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id='function.mcrypt-generic-deinit' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_generic_deinit</refname> <refpurpose>This function deinitializes an encryption module</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_generic_deinit</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-generic-end.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-generic-end" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_generic_end</refname> <refpurpose>This function terminates encryption</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_generic_end</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-generic.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-generic" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_generic</refname> <refpurpose>This function encrypts data</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_generic</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-block-size.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-get-block-size" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_block_size</refname> <refpurpose>Get the block size of the specified cipher</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>mcrypt_get_block_size</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-cipher-name.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-get-cipher-name" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_cipher_name</refname> <refpurpose>Get the name of the specified cipher</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_get_cipher_name</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> @@ -26,6 +26,10 @@ as an argument (libmcrypt 2.4.x or higher) and returns the name of the cipher or &false;, if the cipher does not exist. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_get_cipher_name</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.11 phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.12 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.11 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.mcrypt-get-iv-size" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_iv_size</refname> <refpurpose>Returns the size of the IV belonging to a specific cipher/mode combination</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>mcrypt_get_iv_size</methodname> <methodparam><type>string</type><parameter>cipher</parameter></methodparam> @@ -35,6 +35,10 @@ function as this uses the resource returned by <function>mcrypt_module_open</function>. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_get_iv_size</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-key-size.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-get-key-size" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_get_key_size</refname> <refpurpose>Get the key size of the specified cipher</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>mcrypt_get_key_size</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-list-algorithms.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-list-algorithms" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_list_algorithms</refname> <refpurpose>Get an array of all supported ciphers</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_list_algorithms</methodname> <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam> @@ -22,6 +22,10 @@ where all algorithms are located. If not specifies, the value of the mcrypt.algorithms_dir &php.ini; directive is used. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_list_algorithms</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-list-modes.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-list-modes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_list_modes</refname> <refpurpose>Get an array of all supported modes</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_list_modes</methodname> <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam> @@ -23,6 +23,10 @@ modes are located. If not specifies, the value of the mcrypt.modes_dir &php.ini; directive is used. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_list_modes</function> Example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml:1.5 phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml:1.6 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml:1.5 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 --> +<!-- $Revision: 1.6 $ --> <refentry xml:id="function.mcrypt-module-get-supported-key-sizes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_get_supported_key_sizes</refname> <refpurpose>Returns an array with the supported keysizes of the opened algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_module_get_supported_key_sizes</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml:1.8 phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm-mode.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mcrypt-module-is-block-algorithm-mode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_is_block_algorithm_mode</refname> <refpurpose>Returns if the specified module is a block algorithm or not</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_is_block_algorithm_mode</methodname> <methodparam><type>string</type><parameter>mode</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml:1.5 phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml:1.6 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml:1.5 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.6 $ --> <refentry xml:id="function.mcrypt-module-is-block-algorithm" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_is_block_algorithm</refname> <refpurpose>This function checks whether the specified algorithm is a block algorithm</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_is_block_algorithm</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-is-block-mode.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-module-is-block-mode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_is_block_mode</refname> <refpurpose>Returns if the specified mode outputs blocks or not</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_is_block_mode</methodname> <methodparam><type>string</type><parameter>mode</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.12 phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.13 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.12 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.13 $ --> <refentry xml:id="function.mcrypt-module-open" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_open</refname> <refpurpose>Opens the module of the algorithm and the mode to be used</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>resource</type><methodname>mcrypt_module_open</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> @@ -32,6 +32,10 @@ these are not set, the default directories that are used are the ones that were compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_module_open</function> examples</title> @@ -54,6 +58,10 @@ strings as name for the cipher and mode, this only works when the extension is linked against libmcrypt 2.4.x or 2.5.x. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Using <function>mcrypt_module_open</function> in encryption</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml:1.7 phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml:1.8 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml:1.7 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-self-test.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.mcrypt-module-self-test" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_module_self_test</refname> <refpurpose>This function runs a self test on the specified module</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>mcrypt_module_self_test</methodname> <methodparam><type>string</type><parameter>algorithm</parameter></methodparam> @@ -22,6 +22,10 @@ The function returns &true; if the self test succeeds, or &false; when if fails. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mcrypt_module_self_test</function> example</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml:1.6 phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml:1.7 --- phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml:1.6 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-ofb.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.mcrypt-ofb" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_ofb</refname> <refpurpose>Encrypt/decrypt data in OFB mode</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mcrypt_ofb</methodname> <methodparam><type>int</type><parameter>cipher</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml diff -u phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml:1.8 phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml:1.9 --- phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml:1.8 Sun Dec 30 13:15:56 2007 +++ phpdoc/en/reference/mcrypt/functions/mdecrypt-generic.xml Mon May 19 16:02:48 2008 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.mdecrypt-generic" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mdecrypt_generic</refname> <refpurpose>Decrypt data</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>mdecrypt_generic</methodname> <methodparam><type>resource</type><parameter>td</parameter></methodparam> @@ -18,6 +18,10 @@ can in fact be longer then the unencrypted string, due to the padding of the data. </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>mdecrypt_generic</function> example</title>