Skip to content

Instantly share code, notes, and snippets.

@samuraisam
Created July 5, 2012 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuraisam/fc74626ef88db412d318 to your computer and use it in GitHub Desktop.
Save samuraisam/fc74626ef88db412d318 to your computer and use it in GitHub Desktop.
(def ^:dynamic keypair)
(defmacro with-keypair [kp & body]
`(binding [keypair ~kp]
(do ~@body)))
(defn sign-string [s]
;(.encode Base64 (sign keypair s)))
(println keypair))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment