lua.wetgenes.rnd64k
rnd = wetgenes.rnd64k(seed)
r = rnd() -- a fraction between 0 and 1 inclusive
r = rnd(a) -- an integer between 1 and a inclusive
r = rnd(a,b) -- an integer between a and b inclusive
a sequence of 65536 numbers starting at seed which should be an integer between 0 and 65535 or a string which will be used to generate this number.