By martinig
via java-tv.com
Published: Jan 22 2013 / 10:12
This article discusses the usage of SecureRandom in Java to create random numbers. If random numbers might look easy when you hear about them for the first time, it is not so easy to create them. In the case of Java, there are two main approaches to generating the random number: the Pseudo-Random Number Generator (PRNG) and the True-Random Number Generator (TRNG). The trade-off is between performance and security, so choose wisely.
Add your comment