 
 (defn make-jwe-request
   [data secret]
-  (let [header (->> (jwe/encrypt data secret)
+  (let [header (->> (jwt/encrypt data secret)
                     (format "Token %s"))]
     {:headers {"authorization" header}}))
 


(defn make-jws-request
  [data secret]
  (let [header (->> (jws/sign data secret)
                    (format "Token %s"))]
    {:headers {"authorization" header}}))


  (:require [clojure.test :refer :all]
            [buddy.core.codecs :refer :all]
            [buddy.core.hash :as hash]
            [buddy.sign.jwt :as jwt]
            [buddy.auth :refer [throw-unauthorized authenticated?]]
            [buddy.auth.backends :as backends]
            [buddy.auth.backends.token :as token]
