ai/nanoid is a tiny, secure, URL-friendly, unique string ID generator for JavaScript. The nanoidr package is an R port of NanoID.
The original NanoID library generates random strings using crypto API, which is replaced with openssl::rand_bytes
in nanoidr package. See also Generating Secure Random Numbers in R for more details about openssl::rand_bytes
.
Alternatives
- hrbrmstr/nanoid: Tools to Generate Short, Secure, URL-friendly, and Unique String Identifiers
- reside-ic/ids: ℹ️ Simple random identifiers
- sqids/sqids-r: Official R port of Sqids. Generate short unique IDs from numbers.
- stri_rand_strings: Generate Random Strings - R Package stringi
- random_strings: random_strings in stringfish: Alt String Implementation