Comment Comment by sdrapkin cuid2 generates variable-length strings. If you want fast cryptographically strong string generation, I recommend https://github.com/sdrapkin/randstring. It will likely be faster than cuid2. parent sdrapkin 1 year ago