Created
November 17, 2012 17:14
-
-
Save mpenet/4097774 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(apply str (map #(format "%02x" (bit-and % 0xff)) | |
(.digest (doto (MessageDigest/getInstance "MD5") | |
(.update (.getBytes input)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment