paint-brush
How to Generate Random Numbers - A Guide to TRNGs and PRNGsby@aryamansharda
557 reads
557 reads

How to Generate Random Numbers - A Guide to TRNGs and PRNGs

by Aryaman ShardaFebruary 1st, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Prenorandom number generators (PRNGs) are a category of algorithms that programmatically generate new random numbers from a given starting value called the seed. These algorithms are not without their own limitations. PRNGs are faster than TRNGs and are not periodic. They are extremely useful in situations involving modeling and simulations as it allows you to “replay” a series of random events by initializing your random number generator with the same seed. In situations where the randomness of the random numbers is critical, we use “true” random numbers.
featured image - How to Generate Random Numbers - A Guide to TRNGs and PRNGs
Aryaman Sharda HackerNoon profile picture
Aryaman Sharda

Aryaman Sharda

@aryamansharda

L O A D I N G
. . . comments & more!

About Author

Aryaman Sharda HackerNoon profile picture
Aryaman Sharda@aryamansharda

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite