/** * @return MWP_Crypter_Interface */ public function createCrypter() { if ($this->getSystemEnvironment()->isOpenSslLibraryEnabled()) { return MWP_Crypter_Factory::createOpenSslCrypter(); } return MWP_Crypter_Factory::createPhpSecLibCrypter(); }
/** * @return MWP_Crypter_Interface */ public function createCrypter() { if ($this->getParameter('prefer_phpseclib')) { return MWP_Crypter_Factory::createPhpSecLibCrypter(); } return MWP_Crypter_Factory::createCrypter(); }