Nanoid v2.0.2 API Reference
Modules
Elixir port of NanoID (https://github.com/ai/nanoid), a tiny, secure URL-friendly unique string ID generator.
Generate an URL-friendly unique ID. This method use the non-secure, predictable random generator. By default, the ID will have 21 symbols with a collision probability similar to UUID v4.
Generate a secure URL-friendly unique ID. This method uses the secure and non predictable random generator. By default, the ID will have 21 symbols with a collision probability similar to UUID v4.