Hacker News new | ask | show | jobs
by schoen 4207 days ago
Huh, I never knew that was there; thanks!

In production code I would probably use Crypto.Random.get_random_bytes().