function setPreferredEngine($engine)
    {
        if ($this->mode_3cbc) {
            $this->des[0]->setPreferredEngine($engine);
            $this->des[1]->setPreferredEngine($engine);
            $this->des[2]->setPreferredEngine($engine);
        }

        return parent::setPreferredEngine($engine);
    }
function setPreferredEngine($engine)
    {
        if ($this->mode_3cbc) {
            $this->des[0]->setPreferredEngine($engine);
            $this->des[1]->setPreferredEngine($engine);
            $this->des[2]->setPreferredEngine($engine);
        }

        return parent::setPreferredEngine($engine);
    }
function setPreferredEngine ( $ engine ) { if ( $ this -> mode_3cbc ) { $ this -> des [ 0 ] -> setPreferredEngine ( $ engine ) ; $ this -> des [ 1 ] -> setPreferredEngine ( $ engine ) ; $ this -> des [ 2 ] -> setPreferredEngine ( $ engine ) ; } return parent :: setPreferredEngine ( $ engine ) ; }
Sets the internal crypt engine

@see \phpseclib\Crypt\Base::__construct()
@see \phpseclib\Crypt\Base::setPreferredEngine()
@param int $engine
@access public
@return int
Sets the internal crypt engine