/** * @param string $key * @param string $method * @param int $flags */ public function __construct($key, $method = 'aes-256-cbc', $flags = OPENSSL_RAW_DATA) { parent::__construct($key, $method, $flags); }
/** * @param string $key * @param string $vector * @param string $method * @param int $flags */ public function __construct($key, $vector, $method = 'aes-256-cbc', $flags = OPENSSL_RAW_DATA) { parent::__construct($key, $method, $flags); $this->vector = $vector; }