public function __construct($alg) { parent::__construct($alg); if ($alg != null) { list($dummy, $aeskw_alg) = explode('+', $alg, 2); $this->hash_alg = self::$alg_params[$alg]['hash']; $this->aeskw = new AESKeyWrap($aeskw_alg); } }
public function __construct($alg) { parent::__construct($alg); }
/** * Creates an instance of this algorithm. */ protected function __construct($alg, $size) { parent::__construct($alg); $this->size = $size; }