anchor.diff:  
   [source, clojure]
   ----
  -(require '[buddy.sign.jwe :as jwe])
  +(require '[buddy.sign.jwt :as jwt])
   (require '[buddy.core.keys :as keys])
   
   (def pubkey (keys/public-key "pubkey.pem"))
  
positive.code:   (let [data (:body context)
          user (find-user (:username data)   ;; (implementation omitted)
                          (:password data))]
      (-> (json/encode {:token (jws/sign {:user (:id user)} secret)})
          (http/ok {:content-type "application/json"}))))
  ----
  
  
negative.code: 
  [source, clojure]
  ----
  (require '[buddy.sign.jwt :as jwt])
  (require '[cheshire.core :as json])
  
  (defn login-handler
  