public function decrypt($cipher)
    {
        if (is_resource($cipher)) {
            $cipher = stream_get_contents($cipher);
        }

        return $this->config('strategy')->decrypt($cipher);
    }
public function decrypt($cipher)
    {
        if (is_resource($cipher)) {
            $cipher = stream_get_contents($cipher);
        }

        return $this->config('strategy')->decrypt($cipher);
    }
public function decrypt ( $ cipher ) { if ( is_resource ( $ cipher ) ) { $ cipher = stream_get_contents ( $ cipher ) ; } return $ this -> config ( 'strategy' ) -> decrypt ( $ cipher ) ; }
Decrypts a value using the defined key.

@param string $cipher Cipher to decrypt.
@return string
Decrypts a value using the defined key .