Comparison

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
comparison
equal deleted inserted replaced
8234:97b3ca502547 8242:177873dc9cf3
25 end 25 end
26 26
27 return { 27 return {
28 seed = seed; 28 seed = seed;
29 bytes = bytes; 29 bytes = bytes;
30 _source = "/dev/urandom";
30 }; 31 };