mirror of
https://github.com/srlabs/blue-merle.git
synced 2024-12-22 05:44:59 -05:00
lua: print a random IMEI from the seed provided
I don't know how much stronger we can see the LUA RNG. It seems to accept an "int" which I assume is 32 bit. It will complain if the seed is too big.
This commit is contained in:
parent
a3fff24042
commit
4b427bbcfc
@ -56,4 +56,6 @@ function make_random_imei ()
|
||||
return imei
|
||||
end
|
||||
|
||||
print (make_imei ("354809108035177"))
|
||||
math.randomseed(tonumber(arg[1]))
|
||||
|
||||
print (make_random_imei ())
|
||||
|
Loading…
Reference in New Issue
Block a user