From 7a34ffcfeecd0e00b6c016d4cd1adb2888f2a1a3 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 18 Apr 2002 09:25:10 +0000 Subject: [PATCH] - Add more information about IVs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78607 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mcrypt/functions/mcrypt-create-iv.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/reference/mcrypt/functions/mcrypt-create-iv.xml b/reference/mcrypt/functions/mcrypt-create-iv.xml index 77cf5cd3b7..af249b401d 100644 --- a/reference/mcrypt/functions/mcrypt-create-iv.xml +++ b/reference/mcrypt/functions/mcrypt-create-iv.xml @@ -1,5 +1,5 @@ - + @@ -44,6 +44,19 @@ $iv = mcrypt_create_iv ($block_size, MCRYPT_DEV_RANDOM); + + 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. + + + More information can be found at &url.mcrypt.iv;, &url.mcrypt.bcm; and in chapter 9.3 of + Applied Cryptography by Schneier (ISBN 0-471-11709-9) for a discussion of + this topic. +