Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
That's a higher level abstraction you could build on top of random bytes or integers. There's really no reason to put it in the package API. Different people will want different kinds of "random strings" too, so I also doubt that a single API would be universally useful.