Home
last modified time | relevance | path

Searched refs:owner_pass (Results 1 – 2 of 2) sorted by relevance

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Pdf/
DProtection.php98 * @param string $owner_pass
103 public function setProtection($permissions = [], $user_pass = '', $owner_pass = null, $length = 40) argument
119 if ($owner_pass === null) {
120 $owner_pass = bin2hex(random_bytes(23));
123 $this->generateEncryptionKey($user_pass, $owner_pass, $protection);
253 private function oValue($user_pass, $owner_pass) argument
255 $tmp = $this->md5toBinary($owner_pass);
303 private function generateEncryptionKey($user_pass, $owner_pass, $protection) argument
307 $owner_pass = substr($owner_pass . $this->padding, 0, 32);
309 $this->oValue = $this->oValue($user_pass, $owner_pass);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
DMpdf.php23321 function SetProtection($permissions = [], $user_pass = '', $owner_pass = null, $length = 40) argument
23323 …$this->encrypted = $this->protection->setProtection($permissions, $user_pass, $owner_pass, $length…