I maintain crypto-random <https://github.com/weavejester/crypto-random>, another secure-random wrapper. I suspect the advice you're using to generate your SecureRandom instance is outdated, because in general the default SecureRandom constructor is preferable.
This page <http://moi.vonos.net/java/securerandom/> has more recent information. Under *nix systems, SecureRandom mixes in /dev/urandom, which is a much better source of entropy than SHA1PRNG. Under Windows, it falls back to SHA1PRNG, but you can't have everything. - James On 23 June 2014 05:47, dennis zhuang <[email protected]> wrote: > *clj.qrgen*: https://github.com/killme2008/clj.qrgen > > Generate QRCode in clojure: > > > (as-file (from "hello world")) > > *secure-rand*: https://github.com/killme2008/secure-rand > > Secure version for clojure.core/rand etc. > > > (ns test > (:refer-clojure :exclude [rand rand-int rand-nth]) > (:use [secure-rand.core :only [rand rand-int rand-nth]])) > (rand)(rand 10)(rand-int 100)(rand-nth (range 10)) > > > Hope they could be helpful for someone. > -- > 庄晓丹 > Email: [email protected] [email protected] > Site: http://fnil.net > Twitter: @killme2008 > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
