mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Updated funcproto's for 2.4.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33191 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7b191d71b8
commit
3fa6821a10
1 changed files with 37 additions and 6 deletions
|
@ -419,14 +419,24 @@ TripleDES
|
|||
<funcdef>int <function>mcrypt_get_block_size</function></funcdef>
|
||||
<paramdef>int <parameter>cipher</parameter></paramdef>
|
||||
</funcprototype>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>mcrypt_get_block_size</function></funcdef>
|
||||
<paramdef>string <parameter>cipher</parameter></paramdef>
|
||||
<paramdef>string <parameter>module</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The first prototype is when linked against libmcrypt 2.2.x, the
|
||||
second when linked against libmcrypt 2.4.x.
|
||||
</para>
|
||||
<para>
|
||||
<function>Mcrypt_get_block_size</function> is used to get the
|
||||
size of a block of the specified <parameter>cipher</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
<function>Mcrypt_get_block_size</function> takes one argument, the
|
||||
<parameter>cipher</parameter> and returns the size in bytes.
|
||||
<function>Mcrypt_get_block_size</function> takes one or two
|
||||
arguments, the <parameter>cipher</parameter> and
|
||||
<parameter>module</parameter>, and returns the size in bytes.
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>mcrypt_get_key_size</function>.
|
||||
|
@ -446,14 +456,24 @@ TripleDES
|
|||
<funcdef>int <function>mcrypt_get_key_size</function></funcdef>
|
||||
<paramdef>int <parameter>cipher</parameter></paramdef>
|
||||
</funcprototype>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>mcrypt_get_key_size</function></funcdef>
|
||||
<paramdef>string <parameter>cipher</parameter></paramdef>
|
||||
<paramdef>string <parameter>module</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The first prototype is when linked against libmcrypt 2.2.x, the
|
||||
second when linked against libmcrypt 2.4.x.
|
||||
</para>
|
||||
<para>
|
||||
<function>Mcrypt_get_key_size</function> is used to get the size
|
||||
of a key of the specified <parameter>cipher</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
<function>mcrypt_get_key_size</function> takes one argument, the
|
||||
<parameter>cipher</parameter> and returns the size in bytes.
|
||||
<function>Mcrypt_get_key_size</function> takes one or two
|
||||
arguments, the <parameter>cipher</parameter> and
|
||||
<parameter>module</parameter>, and returns the size in bytes.
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>mcrypt_get_block_size</function>.
|
||||
|
@ -879,11 +899,19 @@ foreach ($modes as $mode) {
|
|||
<paramdef>string <parameter>cipher</parameter></paramdef>
|
||||
<paramdef>string <parameter>mode</parameter></paramdef>
|
||||
</funcprototype>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>mcrypt_get_iv_size</function></funcdef>
|
||||
<paramdef>resource <parameter>td</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The first prototype is when linked against libmcrypt 2.2.x, the
|
||||
second when linked against libmcrypt 2.4.x.
|
||||
</para>
|
||||
<para>
|
||||
<function>Mcrypt_get_iv_size</function> returns the size of
|
||||
the Initialisation Vector (IV). On error the function returns
|
||||
FALSE. If the IV is ignored in the specified cipher/mode
|
||||
the Initialisation Vector (IV) in bytes. On error the function
|
||||
returns FALSE. If the IV is ignored in the specified cipher/mode
|
||||
combination zero is returned.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -895,6 +923,9 @@ foreach ($modes as $mode) {
|
|||
constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or
|
||||
"stream".
|
||||
</para>
|
||||
<para>
|
||||
<parameter>Td</parameter> is the algorithm specified.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue