Home
last modified time | relevance | path

Searched refs:plaintext (Results 1 – 6 of 6) sorted by last modified time

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php686 * @param string $plaintext
690 function encrypt($plaintext) argument
693 $plaintext = $this->_pad($plaintext);
746 $plaintext = substr($plaintext, $i);
1123 return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
1186 return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
1201 $plaintext = '';
1335 return $this->paddable ? $this->_unpad($plaintext) : $plaintext;
1348 * @param string $plaintext
1396 $plaintext = substr($plaintext, strlen($ciphertext));
[all …]
H A DRC2.php387 * @param string $plaintext
390 function encrypt($plaintext) argument
395 $result = parent::encrypt($plaintext);
400 return parent::encrypt($plaintext);
H A DRC4.php220 * @param string $plaintext
223 function encrypt($plaintext) argument
226 return parent::encrypt($plaintext);
228 return $this->_crypt($plaintext, self::ENCRYPT);
H A DRSA.php3109 * @param string $plaintext
3112 function encrypt($plaintext) argument
3116 $plaintext = str_split($plaintext, $this->k);
3118 foreach ($plaintext as $m) {
3128 $plaintext = str_split($plaintext, $length);
3130 foreach ($plaintext as $m) {
3141 $plaintext = str_split($plaintext, $length);
3143 foreach ($plaintext as $m) {
3167 $plaintext = '';
3186 $plaintext.= $temp;
[all …]
H A DTripleDES.php292 * @param string $plaintext
295 function encrypt($plaintext) argument
305 $this->_pad($plaintext)
311 return parent::encrypt($plaintext);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php1720 … $plaintext = str_pad($this->toBytes(), strlen($n->toBytes(true)) - 1, "\0", STR_PAD_LEFT);
1722 if (openssl_public_encrypt($plaintext, $result, $RSAPublicKey, OPENSSL_NO_PADDING)) {