Created
January 16, 2012 07:29
-
-
Save biesnecker/1619611 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
(def charvals (apply vector "ABCDEFGHJKMNPQRSTUVWXYZ23456789")) ; some characters weren't allowed in the codes | |
(defn rand-char [] (charvals (rand-int (count charvals)))) | |
(apply str (take 10 (repeatedly rand-char))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment