diff --git a/reference/mcrypt/functions/mcrypt-module-open.xml b/reference/mcrypt/functions/mcrypt-module-open.xml index 88609df38a..a1b734d5a8 100644 --- a/reference/mcrypt/functions/mcrypt-module-open.xml +++ b/reference/mcrypt/functions/mcrypt-module-open.xml @@ -1,5 +1,5 @@ - + @@ -63,7 +63,7 @@ /* Open the cipher */ $td = mcrypt_module_open('rijndael-256', '', 'ofb', ''); - /* Create the IV and determine the keysize length, used MCRYPT_RAND + /* Create the IV and determine the keysize length, use MCRYPT_RAND * on Windows instead */ $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_DEV_RANDOM); $ks = mcrypt_enc_get_key_size($td); @@ -97,13 +97,6 @@ - - The first line in the example above will try to open the DES cipher from - the default directory and the EBC mode from the directory - /usr/lib/mcrypt-modes. The second example uses - strings as name for the cipher and mode, this only works when the - extension is linked against libmcrypt 2.4.x or 2.5.x. - See also mcrypt_module_close,