aboutsummaryrefslogtreecommitdiffstats
path: root/util/random.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD ↵Kim Alvefur2016-02-221-0/+3
| | | | arc4random() CSPRNG
* util.random: Restore friendlier error from 0.9/util.uuidKim Alvefur2016-01-311-1/+7
|
* util.random: Open /dev/urandom read-only, make seed() a noopKim Alvefur2016-01-121-4/+2
|
* util.random: Use /dev/urandomKim Alvefur2016-01-061-24/+4
|
* util.random: Ensure at least 4 bytes of previous random state is used when ↵Kim Alvefur2014-09-181-2/+2
| | | | generating new randomness
* util.random: Switch to SHA512Kim Alvefur2014-09-181-2/+2
|
* util.random: Generic util lib for generating strings of random bytesMatthew Wild2014-09-021-0/+43