__construct() public method

Constructor.
public __construct ( string $cipher )
$cipher string Either 'ecb' or 'cbc'.
示例#1
0
文件: Mcrypt.php 项目: evltuma/moodle
 /**
  */
 public function __construct($cipher)
 {
     parent::__construct($cipher);
     $this->_mcrypt = mcrypt_module_open(MCRYPT_BLOWFISH, '', $cipher, '');
 }