mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Changed the title.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@26901 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e8760767cf
commit
56cc0f7774
1 changed files with 8 additions and 7 deletions
|
@ -1,10 +1,11 @@
|
|||
<reference id="ref.mcrypt">
|
||||
<title>Encryption functions</title>
|
||||
<title>Mcrypt Encryption Functions</title>
|
||||
<titleabbrev>mcrypt</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
<para>
|
||||
These functions work using <ulink url="&url.mcrypt;">mcrypt</ulink>.
|
||||
These functions work using <ulink
|
||||
url="&url.mcrypt;">mcrypt</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
This is an interface to the mcrypt library, which supports a wide
|
||||
|
@ -21,7 +22,7 @@
|
|||
enable this extension.
|
||||
</para>
|
||||
<para>
|
||||
mcrypt can be used to encrypt and decrypt using the above
|
||||
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
|
||||
|
@ -34,7 +35,7 @@
|
|||
$key = "this is a very secret key";
|
||||
$input = "Let us meet at 9 o'clock at the secret place.";
|
||||
|
||||
$encrypted_data = mcrypt_ecb(MCRYPT_TripleDES, $key, $input, MCRYPT_ENCRYPT);
|
||||
$encrypted_data = mcrypt_ecb (MCRYPT_TripleDES, $key, $input, MCRYPT_ENCRYPT);
|
||||
?>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
@ -221,7 +222,7 @@ $encrypted_data = mcrypt_ecb(MCRYPT_TripleDES, $key, $input, MCRYPT_ENCRYPT);
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>Mcrypt_get_cipher_name</function> example</title>
|
||||
<title><function>Mcrypt_get_cipher_name</function> Example</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$cipher = MCRYPT_TripleDES;
|
||||
|
@ -254,8 +255,8 @@ TripleDES
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<function>Mcrypt_get_block_size</function> is used to get the size of a
|
||||
block of the specified <parameter>cipher</parameter>.
|
||||
<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
|
||||
|
|
Loading…
Reference in a new issue