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