sdrapkin/randstring
View on GitHub ↗ ★ 1 Go
Fast cryptographic random string generators for Go
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2025-07-08 · latest 2025-07-08
20082026
-
…and has more functionality. For random token-as-string generation Golang developers should be using https://github.com/sdrapkin/randstring instead of crypto/rand.Text (faster and more flexible).
comment by sdrapkin · 2025-07-08 · in Fast cryptographically safe GUID generator for Go -
…variable length strings. These are different usecases (oh, and your benchmarks are inferior to https://github.com/sdrapkin/randstring ). Nothing to argue about.
comment by sdrapkin · 2025-07-08 · in Fast cryptographically safe GUID generator for Go -
…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.
comment by sdrapkin · 2025-07-08 · in Fast cryptographically safe GUID generator for Go