Ejemplo n.º 1
0
 /**
  * @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);
 }
Ejemplo n.º 2
0
 /**
  * @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;
 }