2 -- Copyright (C) 2008-2014 Matthew Wild
3 -- Copyright (C) 2008-2014 Waqas Hussain
5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information.
9 local urandom = assert(io.open("/dev/urandom", "r+"));
11 local function seed(x)
16 local function bytes(n)
17 return urandom:read(n);