cvs: phpdoc /en/reference/mcrypt/functions mcrypt-get-iv-size.xml
| From: | Derick Rethans | Date: | Fri, 25 Apr 2003 19:04:43 +0000 |
| Subject: | cvs: phpdoc /en/reference/mcrypt/functions mcrypt-get-iv-size.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352871@lists.php.net to get a copy of this message | ||
derick Fri Apr 25 15:04:43 2003 EDT
Modified files:
/phpdoc/en/reference/mcrypt/functions mcrypt-get-iv-size.xml
Log:
- Another note ntegration
Index: phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml
diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.6
phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.7
--- phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml:1.6 Fri Feb 21 22:44:32 2003
+++ phpdoc/en/reference/mcrypt/functions/mcrypt-get-iv-size.xml Fri Apr 25 15:04:43 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 -->
<refentry id="function.mcrypt-get-iv-size">
<refnamediv>
@@ -34,9 +34,11 @@
constants of the name of the algorithm as string.
</para>
<para>
- <parameter>mode</parameter> is one of the MCRYPT_MODE_modename
- constants of one of "ecb", "cbc", "cfb", "ofb",
"nofb" or
- "stream".
+ <parameter>mode</parameter> 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.
</para>
<para>
<parameter>td</parameter> is the resource that is returned by