On 6 October 2011 18:27, Aaron Bedra <aaron.be...@gmail.com> wrote:
> This actually introduces an opportunity for a much larger set of utilities.
>
> clojure.data.crypto
>
> base64 is part of this idea anyways, and putting it in place along with
> nice wrappers around the messy java crypto bits I think could provide a
> significant win.
I wrote a little wrapper around java.security.MessageDigest a few weeks ago:

  https://github.com/ray1729/clj-message-digest

(also available on Clojars). This was inspired by Perl's Digest::MD5
module and  provides md5, md5-hex, md5-base64 etc. functions.

Incidentally, I used the Apache Commons Base64 encoder, as the one in
contrib was producing different results from the Apache Commons and
Perl implementations. Perhaps a bug?

Ray.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to