Tech Question of the Day (Security+) – Is chance predetermined?

Tech question of the day (Security+ SY0-401): Examine the figure. We are collecting noise to increase entropy. What type of algorithm are we developing here?
(see answer below and video response.)

prng1




Answer

Based on the code in the figure we are most likely developing a pseudorandom number generator (PRNG). These are used in cryptography systems and games to generate a sequence of “random” numbers.  /dev/random and /dev/urandom are common files used to collect noise in order to increase entropy. They could be used with java.util.rand for example. Depending on the system and environment you might also make use of getrandom (Linux) and arc4random (OpenBSD).

The video answer below describes PRNGs.

Video answer:

Do you enjoy learning by watching? Then check out the CompTIA Security+ (SY0-401) Complete Video Course by fellow instructor Michael J Shannon.


Comments are closed.

                      
About Dave Testimonials FAQ Site Map Contact
Copyright © David L. Prowse – Official Website - All Rights Reserved