phpseclib\Crypt\RC4::decrypt PHP Method

decrypt() public method

$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
return string $plaintext
    function decrypt($ciphertext)
    {
        if ($this->engine != self::ENGINE_INTERNAL) {
            return parent::decrypt($ciphertext);
        }
        return $this->_crypt($ciphertext, self::DECRYPT);
    }