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 DRSA.php16 * $plaintext = 'terrafrost';
18 * $ciphertext = $public->encrypt($plaintext);
32 * $plaintext = 'terrafrost';
34 * $signature = $private->sign($plaintext);
36 * echo $public->verify($plaintext, $signature) ? 'verified' : 'unverified';
3189 encrypt($plaintext) global() argument
H A DBase.php
H A DRC2.php23 * $plaintext = str_repeat('a', 1024);
25 * echo $rc2->decrypt($rc2->encrypt($plaintext));
388 * @param string $plaintext
391 public function encrypt($plaintext)
396 $result = parent::encrypt($plaintext); argument
401 return parent::encrypt($plaintext);
411 * @return string $plaintext
H A DRC4.php28 * $plaintext = '';
30 * $plaintext.= 'a';
33 * echo $rc4->decrypt($rc4->encrypt($plaintext));
164 * @param string $plaintext
167 public function encrypt($plaintext)
170 return parent::encrypt($plaintext);
172 return $this->crypt($plaintext, self::ENCRYPT);
178 * $this->decrypt($this->encrypt($plaintext)) == $this->encrypt($this->encrypt($plaintext)).
184 * @return string $plaintext
229 encrypt($plaintext) global() argument
[all...]
H A DTripleDES.php20 * $plaintext = '';
22 * $plaintext.= 'a';
25 * echo $des->decrypt($des->encrypt($plaintext));
274 * @param string $plaintext
277 public function encrypt($plaintext)
287 $this->pad($plaintext)
293 return parent::encrypt($plaintext);
301 * @return string $plaintext
323 * Say you have a 16-byte plaintext $plaintext
295 encrypt($plaintext) global() argument
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php