From a317e27ddb04c809c19090567bdf75872d7881e4 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 25 Apr 2003 19:04:43 +0000 Subject: [PATCH] - Another note ntegration git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@124640 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mcrypt/functions/mcrypt-get-iv-size.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/reference/mcrypt/functions/mcrypt-get-iv-size.xml b/reference/mcrypt/functions/mcrypt-get-iv-size.xml index 46abe44a4a..347ed4d3a6 100644 --- a/reference/mcrypt/functions/mcrypt-get-iv-size.xml +++ b/reference/mcrypt/functions/mcrypt-get-iv-size.xml @@ -1,5 +1,5 @@ - + @@ -34,9 +34,11 @@ constants of the name of the algorithm as string. - mode is one of the MCRYPT_MODE_modename - constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or - "stream". + mode is one of the MCRYPT_MODE_modename constants + or one of "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". The IV is + ignored in ECB mode as this mode does not require it. You will need to + have the same IV (think: starting point) both at encryption and + decryption stages, otherwise your encryption will fail. td is the resource that is returned by