Log

util/random.lua @ 12493:e9ea5c88def0

description author age
util.random: Test whether util.crand works before using it (fix #1734) 0.12 Kim Alvefur Sat, 02 Apr 2022 16:33:27 +0200
util.random: Throw different error for EOL condition 0.11 Kim Alvefur Tue, 21 May 2019 08:52:21 +0200
util.random: Coerce error to string (thanks waqas) 0.11 Kim Alvefur Sat, 18 May 2019 18:51:25 +0200
util.random: Handle unlikely read errors from /dev/urandom (see #1313) 0.11 Kim Alvefur Sat, 18 May 2019 17:28:21 +0200
Merge 0.10->trunk Kim Alvefur Sat, 16 Sep 2017 17:24:56 +0200
util.random: Add a _source field to match util.crand Kim Alvefur Sat, 16 Sep 2017 17:24:13 +0200
util.random: Remove obsolete noop seed function Kim Alvefur Sat, 16 Sep 2017 17:22:51 +0200
util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG Kim Alvefur Mon, 22 Feb 2016 18:44:43 +0100
util.random: Restore friendlier error from 0.9/util.uuid Kim Alvefur Sun, 31 Jan 2016 17:27:15 +0100
util.random: Open /dev/urandom read-only, make seed() a noop Kim Alvefur Tue, 12 Jan 2016 23:48:16 +0100
util.random: Use /dev/urandom Kim Alvefur Wed, 06 Jan 2016 03:28:56 +0100
util.random: Ensure at least 4 bytes of previous random state is used when generating new randomness Kim Alvefur Thu, 18 Sep 2014 10:21:38 +0200
util.random: Switch to SHA512 Kim Alvefur Thu, 18 Sep 2014 10:16:59 +0200
util.random: Generic util lib for generating strings of random bytes Matthew Wild Tue, 02 Sep 2014 17:57:18 +0100