
Random Number Generators—Principles and Practices
A Guide for Engineers and Programmers
- 439 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Random Number Generators—Principles and Practices
A Guide for Engineers and Programmers
About this book
Random Number Generators, Principles and Practices has been written for programmers, hardware engineers, and sophisticated hobbyists interested in understanding random numbers generators and gaining the tools necessary to work with random number generators with confidence and knowledge.
Using an approach that employs clear diagrams and running code examples rather than excessive mathematics, random number related topics such as entropy estimation, entropy extraction, entropy sources, PRNGs, randomness testing, distribution generation, and many others are exposed and demystified.
If you have ever
-
- Wondered how to test if data is really random
-
- Needed to measure the randomness of data in real time as it is generated
-
- Wondered how to get randomness into your programs
-
- Wondered whether or not a random number generator is trustworthy
-
- Wanted to be able to choose between random number generator solutions
-
- Needed to turn uniform random data into a different distribution
-
- Needed to ensure the random numbers from your computer will work for your cryptographic application
-
- Wanted to combine more than one random number generator to increase reliability or security
-
- Wanted to get random numbers in a floating point format
-
- Needed to verify that a random number generator meets the requirements of a published standard like SP800-90 or AIS 31
-
- Needed to choose between an LCG, PCG or XorShift algorithm
Then this might be the book for you.
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
1Introduction



1.1Classes of Random Number Generators
Table of contents
- Cover
- Title Page
- Copyright
- Dedication
- About De|G PRESS
- Contents
- Preface
- 1 Introduction
- 2 Entropy Sources
- 3 Entropy Extraction
- 4 Cryptographically Secure Pseudorandom Number Generators
- 5 Nondeterministic Random Number Generators
- 6 Statistically Uniform Noncryptographic PRNGs
- 7 Gaussian or Normally Distributed PRNGs
- 8 Testing Random Numbers
- 9 Online Random Number Testing
- 10 SP800-22 Distinguishability Tests
- 11 Software Tools
- 12 RdRand and RdSeed Instructions in x86 CPUs
- 13 Accessing RNGs from Software
- 14 Floating-Point Random Numbers
- 15 Making a Uniform Random Number Between Nonpower of Two Bounds
- 16 Generating Random Prime Numbers
- 17 Additive Distributions
- 18 Probability Distributions
- 19 Quantifying Entropy
- 20 Random Methods to Generate π
- Appendix A Adaptive Proportion Test Cutoff Tables
- Appendix B High-Precision Incomplete Beta Function Implementation
- Appendix C Incomplete Gamma Function Implementation
- Bibliography
- Index
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app