A wee Clojure library designed to generate cryptographically secure random strings using Java's SecureRandom.
With Leiningen:
[random-string "0.1.0"]
(random-string.core/string)
Returns a random alphanumetic string with length 26.
(random-string.core/string len)
Returns a random alphanumetic string with length size
.
(random-string.core/string len radix)
Returns a random BigInteger as string with length len
and base radix
.
(random-string.core/hex-color)
Return a random hex-color string with a leading #
##Test
lein test
Copyright © 2016 Anderson Queiroz
Distributed under the GNU General Public License v3
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close