Liking cljdoc? Tell your friends :D
All platforms.

nano-id.custom


generateclj/s

(generate alphabet)
(generate alphabet random)

Secure random ID generator with custom alphabet. Takes alphabet and returns a function of only one argument — size. alphabet must contain 256 symbols or less. Otherwise, the generator will not be secure. random (optional) is a custom random bytes generator, by default used nano-id.random.

Secure random ID generator with custom alphabet.
Takes `alphabet` and returns a function of only one argument — `size`.
`alphabet` must contain 256 symbols or less. Otherwise,
the generator will not be secure. `random` (optional) is a custom
random bytes generator, by default used `nano-id.random`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close