can use standard math.random as well as true RNG?
trentgill opened this issue · comments
trent commented
some people desire to have a seeded-random number generator on crow. it already exists in the codebase, but we overwrite math.random
with the interface to the TRNG.
all we'd need to do is:
math.srandom = math.random
math.srandomseed = math.randomseed
-- then overwrite math.random with new fn
is math.srandom
the correct name to use? should it be seededrandom
?