anchor.diff:  
   [source,clojure]
   ----
  -[buddy/buddy-sign "0.13.0"]
  +[buddy/buddy-sign "1.0.0"]
   ----
   
   And is tested under JDK7 and JDK8.
  
positive.code: = buddy-sign - High level message signing.
  Andrey Antukh, <niwi@niwi.be>
  0.13.0
  :toc: left
  :!numbered:
  :source-highlighter: pygments
  
negative.code: 
  [source, clojure]
  ----
  (jwt/decrypt incoming-data secret)
  ;; => {:userid 1}
  ----
  
  
  === Digital signature algorithms
  
  In order to use any of digital signature algorithms you must have a private/public
  key. If you don't have one, don't worry, it is very easy to generate it using
  *openssl*, see this <<generate-keypairs,faq entry>>.
  
  Now, having generated a key pair, you can sign your messages using one
  of supported digital signature algorithms.
  
  .Example of signing a string using _es256_ (eliptic curve dsa) algorithm.
  [source, clojure]
  ----
  (require '[buddy.core.keys :as keys])
  
  ;; Create keys instances
  (def ec-privkey (keys/private-key "ecprivkey.pem"))
  (def ec-pubkey (keys/public-key "ecpubkey.pem"))
  
  ;; Use them like plain secret password with hmac algorithms for sign
  (def signed-data (jwt/sign {:foo "bar"} ec-privkey {:alg :es256}))
  
  ;; And unsign
  (def unsigned-data (jwt/unsign signed-data ec-pubkey {:alg :es256}))
  ----
  
  
  