randomBytes entropy or PRNG?

Deploying to Linux? Get penguinated here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

randomBytes entropy or PRNG?

Postby pkocsis » Sun Mar 20, 2016 4:32 am

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!
pkocsis
 
Posts: 100
Joined: Sat Apr 15, 2006 7:20 am

Re: randomBytes entropy or PRNG?

Postby richmond62 » Sun Mar 20, 2016 9:12 am

"entropy pool"?

Where did I stop understanding what goes on with LiveCode? Or, is it me that's not "bonkers"?
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
 
Posts: 1845
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron