mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Add more information about IVs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78607 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8d841530f5
commit
7a34ffcfee
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.mcrypt-create-iv">
|
||||
<refnamediv>
|
||||
|
@ -44,6 +44,19 @@ $iv = mcrypt_create_iv ($block_size, MCRYPT_DEV_RANDOM);
|
|||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
The IV is only meant to give an alternative seed to the encryption
|
||||
routines. This IV does not need to be secret at all, though it can be
|
||||
desirable. You even can send it along with your ciphertext without
|
||||
loosing security.
|
||||
</para>
|
||||
<para>
|
||||
More information can be found at <ulink
|
||||
url="&url.mcrypt.iv;">&url.mcrypt.iv;</ulink>, <ulink
|
||||
url="&url.mcrypt.bcm;">&url.mcrypt.bcm;</ulink> and in chapter 9.3 of
|
||||
Applied Cryptography by Schneier (ISBN 0-471-11709-9) for a discussion of
|
||||
this topic.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue