Skip to content

Instantly share code, notes, and snippets.

@cddr cddr/encrypter
Created Oct 16, 2014

Embed
What would you like to do?
(defn encrypt [attr]
(reify
clojure.lang.Named
(getNamespace [this]
(.getNamespace attr))
(getName [this]
(.getName attr))
clojure.lang.IFn
(invoke [_ obj]
(password/encrypt (attr obj)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.