phpseclib\Crypt\RC4::decrypt PHP Méthode

decrypt() public méthode

$this->decrypt($this->encrypt($plaintext)) == $this->encrypt($this->encrypt($plaintext)). At least if the continuous buffer is disabled.
See also: phpseclib\Crypt\Common\SymmetricKey::encrypt()
See also: self::_crypt()
public decrypt ( string $ciphertext ) : string
$ciphertext string
Résultat string $plaintext
    function decrypt($ciphertext)
    {
        if ($this->engine != self::ENGINE_INTERNAL) {
            return parent::decrypt($ciphertext);
        }
        return $this->_crypt($ciphertext, self::DECRYPT);
    }