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

        return $this->config('strategy')->decrypt($cipher);
    }