Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 6 of 6) sorted by path

/dokuwiki/inc/
H A Dauth.php387 * @param string $ciphertext The encrypted data
391 function auth_decrypt($ciphertext, $secret) { argument
392 $iv = substr($ciphertext, 0, 16);
397 return $cipher->decrypt(substr($ciphertext, 16));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php859 return $ciphertext;
873 $ciphertext = '';
1010 return $ciphertext;
1021 * @param string $ciphertext
1030 …$ciphertext = str_pad($ciphertext, strlen($ciphertext) + ($this->block_size - strlen($ciphertext) …
1092 $ciphertext = substr($ciphertext, $i);
1356 $ciphertext = '';
1391 return $ciphertext;
1430 return $ciphertext;
1455 $ciphertext = '';
[all …]
H A DRC2.php410 * @param string $ciphertext
413 function decrypt($ciphertext) argument
418 $result = parent::decrypt($ciphertext);
423 return parent::decrypt($ciphertext);
H A DRC4.php240 * @param string $ciphertext
243 function decrypt($ciphertext) argument
246 return parent::decrypt($ciphertext);
248 return $this->_crypt($ciphertext, self::DECRYPT);
H A DRSA.php3117 $ciphertext = '';
3121 return $ciphertext;
3129 $ciphertext = '';
3133 return $ciphertext;
3142 $ciphertext = '';
3146 return $ciphertext;
3155 * @param string $ciphertext
3158 function decrypt($ciphertext) argument
3164 $ciphertext = str_split($ciphertext, $this->k);
3165 …$ciphertext[count($ciphertext) - 1] = str_pad($ciphertext[count($ciphertext) - 1], $this->k, chr(0…
[all …]
H A DTripleDES.php319 * @param string $ciphertext
322 function decrypt($ciphertext) argument
329 str_pad($ciphertext, (strlen($ciphertext) + 7) & 0xFFFFFFF8, "\0")
336 return parent::decrypt($ciphertext);