Changeset

8242:177873dc9cf3

util.random: Add a _source field to match util.crand
author Kim Alvefur <zash@zash.se>
date Sat, 16 Sep 2017 17:24:13 +0200
parents 8234:97b3ca502547
children 8243:292f61d9d30a 8247:2c386ee5cd5c
files util/random.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/random.lua	Thu Sep 14 02:47:40 2017 +0200
+++ b/util/random.lua	Sat Sep 16 17:24:13 2017 +0200
@@ -27,4 +27,5 @@
 return {
 	seed = seed;
 	bytes = bytes;
+	_source = "/dev/urandom";
 };