public __construct ( string $cipher ) | ||
$cipher | string | Either 'ecb' or 'cbc'. |
public function __construct($cipher)
{
$this->cipher = $cipher;
}
/** */ public function __construct($cipher) { parent::__construct($cipher); $this->_mcrypt = mcrypt_module_open(MCRYPT_BLOWFISH, '', $cipher, ''); }