Liking cljdoc? Tell your friends :D
All platforms.

nano-id.core


alphabetclj/s

source

customclj/s

(custom alphabet size)
(custom alphabet size random)

Builds ID generator with custom parameters. Takes alphabet and size. alphabet must contain 256 symbols or less; otherwise, the generator won't be secure. Also you can provide your own random bytes generator. It should be a function that takes one argument - number of bytes, and returns a byte array.

Builds ID generator with custom parameters.
Takes alphabet and size. alphabet must contain 256 symbols or less; otherwise,
the generator won't be secure.
Also you can provide your own random bytes generator. It should be a function
that takes one argument - number of bytes, and returns a byte array.
sourceraw docstring

nano-idclj/s

(nano-id)
(nano-id size)

Secure random ID generator. Generates IDs of the specified size, 21 by default.

Secure random ID generator.
Generates IDs of the specified size, 21 by default.
sourceraw docstring

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

× close