Page 1 of 1

randomBytes entropy or PRNG?

Posted: Sun Mar 20, 2016 4:32 am
by pkocsis
I am trying a linux standalone on linux mint 17.3 built with LC 6.7.10. Part of my test involves the use of randomBytes.

My question is:
How do I know if revsecurity.so/randomBytes is indeed pulling data from an entropy pool vs falling back to the use of a PRNG? I ask because the same test on OSX is very slow in how much randomBytes it can return, presumably because it has to wait until enough entropy is gathered/replenished. The test on Windows can return randomBytes at lightening speed, presumably because there is no entropy pool and a PRNG is just being used. So....my Linux Mint test runs almost exactly like the Windows test when I expected it should/would run more like the OSX test which leads me to believe I may be missing elements or packages in my Mint installation in order to support an actual entropy pool. Any way to definitively know if randomBytes is indeed using an entropy pool vs falling back to a PRNG on Linux?

Thanks!

Re: randomBytes entropy or PRNG?

Posted: Sun Mar 20, 2016 9:12 am
by richmond62
"entropy pool"?

Where did I stop understanding what goes on with LiveCode? Or, is it me that's not "bonkers"?