Diff

util/random.lua @ 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
parent 7187:3d2c2f0809ee
child 8243:292f61d9d30a
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";
 };