anchor.diff:  ----
   
   
  -Poly1305
  -^^^^^^^^
  +==== Poly1305
   
   Poly1305 is a cryptographic message authentication code
   (MAC) written by Daniel J. Bernstein. It can be used to verify the
  
positive.code: (def ec-pubkey (keys/public-key "ecpubkey.pem"))
  
  ;; Use them like plain secret password with hmac algorithms for sign
  (def signed-data (sign "mystring" ec-privkey {:alg :ec256}))
  
  ;; And unsign
  (def unsigned-data (unsign signed-data ec-pubkey {:alg :ec256}))
  ----
  
  Json Web Signature/Token
  ~~~~~~~~~~~~~~~~~~~~~~~~
  
  ~*New in version:* 0.2~
  
  JSON Web Signature (JWS) represents content secured with digital
  signatures or Message Authentication Codes (MACs) using JavaScript
  Object Notation (JSON) based data structures.
  
  List of rfcs related to this feature:
  
  - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20
  - http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26
  - http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-26
  
  
  .Supported Algorithms
  
negative.code: ;; "TlBZARlgGwAAAAIOAAAABnVzZXJpZCsAAAAAAAAAAQ:59d9e8063ad80f6abd3092b45857810b10f5..."
  
  ;; Unsign previously signed data
  (loads signed-data "my-secret-key")
  ;; => {:userid 1}
  ----
  
  NOTE: it uses a Clojure serialization library link:https://github.com/ptaoussanis/nippy[Nippy]
  
  
  ==== Using 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's very easy to generate it using *openssl*.
  
  .Example on how to generate one Elliptic Curve DSA keypair.
  [source, bash]
  ----
  # Generating params file
  