src/_Libs/_Crypt.php
private static function _createIV($cipher, $mode) {
        $size = self::_getIVSize($cipher, $mode);
        return mcrypt_create_iv($size, MCRYPT_DEV_RANDOM);
    }
private static function _createIV($cipher, $mode) {
        $size = self::_getIVSize($cipher, $mode);
        return mcrypt_create_iv($size, MCRYPT_DEV_RANDOM);
    }
private static function _createIV ( $ cipher , $ mode ) { $ size = self :: _getIVSize ( $ cipher , $ mode ) ; return mcrypt_create_iv ( $ size , MCRYPT_DEV_RANDOM ) ; }
Generates an initialization vector based on cipher and mode

@param const $cipher The cipher to be used
@param const $mode The mode to be used
@return string The initialization vector
Generates an initialization vector based on cipher and mode