source/Core/Decryptor.php
public function decrypt($string, $key)
    {
        $key = $this->_formKey($key, $string);

        $string = substr($string, 3);
        $string = str_replace('!', '=', $string);
        $string = base64_decode($string);
        $string = $string ^ $key;

        return substr($string, 2, -2);
    }
public function decrypt($string, $key)
    {
        $key = $this->_formKey($key, $string);

        $string = substr($string, 3);
        $string = str_replace('!', '=', $string);
        $string = base64_decode($string);
        $string = $string ^ $key;

        return substr($string, 2, -2);
    }
public function decrypt ( $ string , $ key ) { $ key = $ this -> _formKey ( $ key , $ string ) ; $ string = substr ( $ string , 3 ) ; $ string = str_replace ( '!' , '=' , $ string ) ; $ string = base64_decode ( $ string ) ; $ string = $ string ^ $ key ; return substr ( $ string , 2 , - 2 ) ; }
Decrypts string with given key.

@param string $string string
@param string $key    key

@return string
Decrypts string with given key .