(With thanks to Alyssa Rowan for the CSPRNG design. Public domain - feel free to copy it.)
For really important stuff, actual dice just to make sure.