-
-
Save samuraisam/fc74626ef88db412d318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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