Home › Forums › TrueRNG Hardware random number generator › Mac OSX: seeding PRNG with TrueRNG
Tagged: Mac OSX, PRNG, truerng
This topic contains 0 replies, has 1 voice, and was last updated by ur.lord 3 years, 11 months ago.
It turned out to be surprisingly simple. Mac OSX /dev/random allows writes and is the recommended method by Apple to seed entropy to PRNG. Therefore, simply creating hourly cron job like this will work as simplistic version for rng-tools on OSX :
# change Usbmodem to your #
[[ -r /dev/cu.usbmodem14511 ]] && dd if=/dev/cu.usbmodem14511 ibs=1 count=512k obs=1024 >& /dev/null | pv -pterb -s 512k | dd of=/dev/random >& /dev/null
You must be logged in to reply to this topic.