/** * Sets the internal crypt engine * * @see Crypt_Base::Crypt_Base() * @see Crypt_Base::setPreferredEngine() * @param Integer $engine * @access public * @return Integer */ 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); }