Lines Matching defs:plaintext
20 * $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. Using the default behavior, the two following code snippets
327 * echo $des->encrypt(substr($plaintext, 0, 8));
328 * echo $des->encrypt(substr($plaintext, 8, 8));
331 * echo $des->encrypt($plaintext);
338 * $des->encrypt(substr($plaintext, 0, 8));
339 * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8)));
342 * echo $des->decrypt($des->encrypt(substr($plaintext, 8, 8)));