?php $size = mcrypt_get_iv_size (MCRYPT_CAST_256, MCRYPT_MODE_CFB); $size = mcrypt_get_iv_size ('des', 'ecb');?
Mode is one of the MCRYPT_MODE_modename constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or "stream".