Abstract
Random numbers are needed in many areas: cryptography, Monte Carlo computation and simulation, industrial testing and labeling, hazard games, gambling, etc. Our assumption has been that random numbers cannot be computed; because digital computers operate deterministically, they cannot produce random numbers. Instead, random numbers are best obtained using physical (true) random number generators (TRNG), which operate by measuring a well-controlled and specially prepared physical process. Randomness of a TRNG can be precisely, scientifically characterized and measured. Especially valuable are the information-theoretic provable random number generators (RNGs), which, at the state of the art, seem to be possible only by exploiting randomness inherent to certain quantum systems. On the other hand, current industry standards dictate the use of RNGs based on free-running oscillators (FRO) whose randomness is derived from electronic noise present in logic circuits and which cannot be strictly proven as uniformly random, but offer easier technological realization. The FRO approach is currently used in 3rd- and 4th-generation FPGA and ASIC hardware, unsuitable for realization of quantum RNGs. In this chapter we compare weak and strong aspects of the two approaches. Finally, we discuss several examples where use of a true RNG is critical and show how it can significantly improve security of cryptographic systems, and discuss industrial and research challenges that prevent widespread use of TRNGs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
C. Abellán, W. Amaya, M. Jofre, M. Curty, A. Acín, J. Capmany, V. Pruneri, M.W. Mitchell, Ultra-fast quantum randomness generation by accelerated phase diffusion in a pulsed laser diode. Opt. Express 22, 1645–1654 (2014)
V. Bagini, M. Bucci. A design of reliable true random number generator for cryptographic applications, in Cryptographic Hardware and Embedded Systems (CHES), ed. by Ç.K. Koç, C. Paar (Springer, Berlin, 2002), pp. 204–218
B. Barak, R. Shaltiel, E. Tromer, True random number generators secure in a changing environment, in Cryptographic Hardware and Embedded Systems (CHES), ed. by C.D. Walter, Ç.K. Koç, C. Paar (Springer, Berlin, 2003), pp. 166–180
C.W.J. Beenakker, M. Büttiker, Suppression of shot noise in metallic diffusive conductors. Phys. Rev. B 46, 1889–1892 (1992)
C.H. Bennett, G. Brassard, Quantum cryptography: public key distribution and coin tossing, in Proceedings of the IEEE International Conference on Computers, Systems, and Signal Processing, 10–12 Dec 1984, pp. 175–179
C.H. Bennett, F. Bessette, G. Brassard, L. Salvail, J. Smolin, Experimental quantum cryptography. J. Cryptol. 5(1), 3–28 (1992)
C.H. Bennett, T.J. Watson, G. Brassard, C. Crepeau, U.M. Maurer, Generalized privacy amplification. IEEE Trans. Inf. Theory 41(6), 1915–1923 (1995)
D.J. Bernstein, J. Buchmann, E. Dahmen (eds.), Post-Quantum Cryptography (Springer, Heidelberg, 2009)
P. Chevalier et al., Random number generator. U.S. Patent Number 3,790,768, 5 February 1974
B. Chor, O. Goldreich, J. Hasted, J. Freidmann, S. Rudich, R. Smolensky. The bit extraction problem or t-resilient functions, in 26th Annual Symposium on Foundations of Computer Science (FOCS) (IEEE, New York, 1985), pp. 396–407
T. Click, A. Liu, G. Kaminski, Quality of random number generators significantly affects results of Monte Carlo simulations for organic and biological systems. J. Comput. Chem. 32, 513–524 (2011)
P.D. Coddington. Tests of random number generators using Ising model simulations. Int. J. Mod. Phys. C 7, 295–303 (1996)
Cryptography Research. Evaluation summary: VIA C3 Nehemiah random number generator (2003), http://www.via.com.tw/en/downloads/whitepapers/initiatives/padlock/evaluation_summary_padlock_rng.pdf
R.B. Davies, Exclusive OR (XOR) and Hardware Random Number Generators, http://www.robertnz.net/pdf/xor2.pdf. February 28, 2002
A. De Matteis, S. Pagnutti, Long-range correlations in linear and non-linear random number generators. Parallel Comput. 14(2), 207–210 (1990)
M. Dichtl, J.D. Golic, High-speed true random number generation with logic gates only, in Cryptographic Hardware and Embedded Systems (CHES), ed. by P. Paillier, I. Verbauwhede (Springer, Berlin, 2007), pp. 45–62
W. Diffie, M.E. Hellman. New directions in cryptography. IEEE Trans. Inf. Theory 22, 644–654 (1976)
J.F. Dynes, Z.L. Yuan, A.W. Sharpe, A.J. Shields, A high speed, postprocessing free, quantum random number generator. Appl. Phys. Lett. 93, 031109 (2008)
R.J. Easter, C. French, Annex C: approved random number generators for FIPS PUB 140-2, in Security Requirements for Cryptographic Modules, NIST, February 2012
ESPACENET, European Patent Office, http://www.espacenet.com
A.M. Ferrenberg, D.P. Landau, Y. J. Wong, Monte Carlo simulations: hidden errors from ‘good’ random number generators. Phys. Rev. Lett. 69, 3382–3384 (1992)
A. Figotin et al., Random number generator based on the spontaneous alpha-decay. U.S. Patent Number 6,745,217, 1 June 2004
M. Fürst, H. Weier, S. Nauerth, D.G. Marangon, C. Kurtsiefer, H. Weinfurter, High speed optical quantum random number generation. Opt. Exp. 18, 13029–13037 (2010)
I. Gerhardt, Q. Liu, A. Lamas-Linares, J. Skaar, C. Kurtsiefer, V. Makarov, Perfect eavesdropping on a quantum cryptography system, 18 March 2012. arXiv:1011.0105v1 [quant-ph]
I. Goldberg, D. Wagner, Randomness in the Netscape browser. Dr. Dobb’s Journal, January 1996
L. Gollub, Vorrichtung zur gewinnung von zufallszahlen. Germany Patent Number DE19743856A1, 8 April 1999
M. Goresky, A. Klapper, Algebraic Shift Register Sequences (Cambridge University Press, Cambridge, 2012)
D. Gottesman, H.-K. Lo, N. Lutkenhaus, J. Preskill, Security of quantum key distribution with imperfect devices. Quantum Inf. Comput. 4, 325–360 (2004)
P. Grassberger, On correlations in “good" random number generators. Phys. Lett. A 181, 43–46 (1993)
H. Guo, W. Tang, Y. Liu, W. Wei, Truly random number generation based on measurement of phase noise of a laser. Phys. Rev. E 81, 051137 (2010)
R. Heinen, Private communication. University of Twente, Twente, Netherlands
P. Hellekalek, Good random number generators are (not so) easy to find. Math. Comput. Simulat. 46, 485–505 (1998)
IdQuantique, Quantis: True random number generator exploiting quantum physics (2012), http://www.idquantique.com/random-number-generators/products/products-overview.html
Institut Ruder Bošković. QRBG 121 (2012), http://qrbg.irb.hr
T. Jennewein, U. Achleitner, G. Weihs, H. Weinfurter, A. Zeilinger, A fast and compact quantum random number generator. Rev. Sci. Instrum. 71, 1675–1680 (2000)
P. Jonsson, Boom in Internet gambling ahead? US policy reversal clears the way, http://tinyurl.com/86b9aaz, 26 December 2011
B. Jun, P. Kocher, The Intel random number generator. Cryptography Research Inc., White Paper Prepared for Intel Corporation, 22 April 1999
I. Kanter, Y. Aviad, I. Reidler, E. Cohen, M. Rosenbluh, An optical ultrafast random bit generator. Nat. Photon. 4(1), 58–61 (2010)
T. Kim, I.S. Wersborg, F.N.C. Wong, J.H. Shapiro, Complete physical simulation of the entangling-probe attack on the Bennett-Brassard 1984 protocol. Phys. Rev. A 75, 042327 (2007)
D.E. Knuth, High speed single photon detection in the near infrared, in The Art of Computer Programming, vol. 2, 3rd edn. (Addison Wesley, Reading, 1997)
O. Kwon, Quantum random number generator using photon-number path entanglement. Appl. Opt. 48, 1774–1778 (2009)
P. Lacharme, Post processing functions for a biased physical random number generator, in Fast Software Encryption (FSE) (2008), pp. 334–342
P. Lacharme, Analysis and construction of correctors. IEEE Trans. Inf. Theory 55(10), 4742–4748 (2009)
X. Li, A.B. Cohen, T.E. Murphy, R. Roy, Scalable parallel physical random number generator based on a superluminescent LED. Opt. Lett. 36, 1020–1022 (2011)
Lotteries and Gaming Authority. Remote gaming regulations, Legal notice 176 of 2004, 110 of 2006, 2760 and 426 of 2007, and 90 of 2011. Malta, 2011
L. Lydersen, V. Makarov, J. Skaar, Secure gated detection scheme for quantum cryptography, 29 Jan 2011. arXiv:1101.5698 [quant-ph]
G. Marsaglia, DIEHARD Battery of Stringent Randomness Tests (1995), http://stat.fsu.edu/~geo/diehard.html
G. Marsaglia, W.W. Tsang, The ziggurat method for generating random variables. J. Stat. Softw. 5(8), 1–7 (2000). http://www.jstatsoft.org/v05/i08
M. Matsumoto, T. Nishimura, Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Trans. Model. Comput. Simulat. 8, 3–30 (1998). http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
U.M. Maurer, A universal statistical test for random bit generators. J. Cryptol. 5(2), 89–105 (1992)
U. Maurer, Secret key agreement by public discussion from common information. IEEE Trans. Inf. Theory 39, 733–742 (1993)
T. McNichol, Totally random. Wired 11(8) (2003). http://www.wired.com/wired/archive/11.08/random.html.
J.A. Miszczak, Generating and using truly random quantum states in Mathematica, 19 Oct 2011. arXiv:1102.4598v2 [quant-ph]
H. Nyquist, Thermal agitation of electric charge in conductors. Phys. Rev. 32, 110–113 (1928)
G. Parisi, F. Rapuano, Effects of the random number generator on computer simulations. Phys. Lett. B 157, 301–302 (1985)
Y. Peres, Iterating von Neumann’s procedure for extracting random bits. Ann. Stat. 20, 590–597 (1992)
PicoQuant, PQRNG 150 (2012), http://www.picoquant.com/products/pqrng150/pqrng150.htm
A. Proykova, How to improve a random number generator. Comput. Phys. Commun. 124, 125–131 (2000)
B. Qi, Y.-M. Chi, H.-K. Lo, L. Qian, High speed quantum random number generation by measuring phase noise of single mode laser. Opt. Lett. 35, 312–314 (2010)
qutools GmbH. quRNG (2012), http://www.qutools.com/products/quRNG/
J.A. Reeds, N.J.A. Sloane, Shift-register synthesis (Modulo m). SIAM J. Comput. 14, 505–513 (1985)
I. Reidler, Y. Aviad, M. Rosenbluh, I. Kanter, Ultra high-speed random number generation based on a chaotic semiconductor laser. Phys. Rev. Lett. 103(2), 024102 (2009)
T. Ritter, Random Number Machines: A Literature Survey, http://www.ciphersbyritter.com/RES/RNGMACH.HTM, 4 Dec 2002
R.L. Rivest, The RC4 encryption algorithm. RSA Data Security Inc., March 1992
F. Rodriguez-Henriquez, N.A. Saqib, A. Diaz-Perez, Ç.K. Koç, Cryptographic Algorithms on Reconfigurable Hardware (Springer, Berlin, 2007)
C.B. Roellgen, Visualisation of potential weakness of existing cipher engine implementations in commercial on-the-fly disk encryption software. Global IP Telecommunications, Ltd. & PMC Ciphers, Inc., 15 Aug 2008
A. Ruhkin, Statistical testing of randomness: Old and new procedures, in Randomness Through Computation, ed. by H. Zenil (World Scientific, Singapore, 2011)
A. Ruhkin et al., A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. NIST Special Publication 800-22rev1a, April 2010
D. Schellekens, B. Preneel, I. Verbauwhede, FPGA Vendor Agnostic True Random Number Generator (2006), http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.86.5319
F. Schmid, N.B. Wilding, Errors in Monte Carlo simulations using shift register random number generators. Int. J. Mod. Phys. 6, 781–787 (1995)
R. Shaltiel, Recent developments in explicit constructions of extractors. Bull. EATCS 77, 67–95 (2002)
R. Shaltiel, How to get more mileage from randomness extractors. Random Struct. Algorithm 33, 157–186 (2008)
P. Shor, J. Preskill, Simple proof of security of the BB84 quantum key distribution protocol. Phys. Rev. Lett. 85, 441–444 (2000)
A. Sidorenko, B. Schoenmakers, State recovery attacks on pseudorandom generators, in Western European Workshop on Research in Cryptology (Springer, Berlin, 2005), pp. 53–63
A. Stefanov, N. Gisin, O. Guinnard, L. Guinnard, H. Zbinden, Optical quantum random number generator. J. Mod. Opt. 47, 595–598 (2000)
M. Stipčević, Apparatus and method for generating true random bits based on time integration of an electronic noise source. WIPO Patent Number WO03040854, 17 October 2001
M. Stipčević, Fast nondeterministic random bit generator based on weakly correlated physical events. Rev. Sci. Instrum. 75, 4442–4449 (2004)
M. Stipčević, Quantum random bit generator. WIPO Patent Number WO2005106645 (A2), 30 April 2004
M. Stipčević, Preventing detector blinding attack and other random number generator attacks on quantum cryptography by use of an explicit random number generator, (2014). arXiv:1403.0143v3 [quant-ph]
M. Stipčević, B.M. Rogina, Quantum random number generator based on photonic emission in semiconductors. Rev. Sci. Instrum. 78, 1–7 (2007)
B. Sunar, True random number generators for cryptography, in Cryptographic Engineering, ed. by Ç.K. Koç (Springer, Berlin, 2009), pp. 55–73
B. Sunar, W.J. Martin, D.R. Stinson, A provably secure true random number generator with built-in tolerance to active attacks. IEEE Trans. Comput. 56(1), 109–119 (2007)
G. Taylor, G. Cox, Behind Intel’s new random-number generator. IEEE Spectrum, http://spectrum.ieee.org/computing/hardware/behind-intels-new-randomnumber-generator, 24 Aug 2011
T.E. Tkacik, A hardware random number generator, in Cryptographic Hardware and Embedded Systems (CHES), ed. by B.S. Kaliski Jr., Ç.K. Koç, C. Paar (Springer, Berlin, 2002), pp. 450–453
A. Uchida et al., Fast physical random bit generation with chaotic semiconductor lasers. Nat. Photon. 2, 728–732 (2008)
G. Vallone, D. Marangon, M. Tomasin, P. Villoresi, Self-calibrating quantum random number generator based on the uncertainty principle, 30 Jan 2014. arXiv:1401.7917 [quant-ph]
I. Vattulainen, T. Ala-Nissila, K. Kankaala, Physical tests for random numbers in simulations. Phys. Rev. Lett. 73, 2513–2516 (1994)
VIA Inc. Via security application note (2005), www.via.com.tw/en/downloads/whitepapers/initiatives/padlock/security_application_note.pdf
VIA Inc. AES encryption (2012), http://www.via.com.tw/en/initiatives/padlock/hardware.jsp
VIA Inc. Random number generation (2012), http://www.via.com.tw/en/initiatives/padlock/hardware.jsp
VIA Inc. Via padlock security engine (2012), http://www.via.com.tw/en/initiatives/padlock/hardware.jsp
J. Viega, Practical random number generation in software, in Proceedings of 19th Annual Computer Security Applications Conference (2003), pp. 129–140
C.H. Vincent, The generation of truly random binary numbers. J. Phys. E: Sci. Instrum. 3, 594–598 (1970)
J. von Neumann, Various techniques for use in connection with random digits. John von Neumann Collect. Works 5, 768–770 (1963)
M. Wahl, M. Leifgen, M. Berlin, T. Roehlicke, H.J. Rahn, O. Benson, An ultrafast quantum random number generator with provably bounded output bias based on photon arrival time measurements. Appl. Phys. Lett. 98, 171105 (2011)
J. Walker, Ent: A pseudorandom number sequence test program, http://www.fourmilab.ch/random/.
A.B. Wang, Y.C. Wang, H.C. He, Enhancing the bandwidth of the optical chaotic signal generated by a semiconductor laser with optical feedback. IEEE Photon. Technol. Lett. 20, 1633–1635 (2008)
A.B. Wang, Y.C. Wang, J.F. Wang, Route to broadband chaos in a chaotic laser diode subject to optical injection. Opt. Lett. 34, 1144–1146 (2009)
M.A. Wayne, P.G. Kwiat, Low-bias high-speed quantum random number generator via shaped optical pulses. Opt. Exp. 18, 9351–9357 (2010)
M.A. Wayne, E.R. Jeffrey, G.M. Akselrod, P.G. Kwiat, Photon arrival time quantum random number generation. J. Mod. Opt. 56, 516–522 (2009)
S.-K. Yoo, D. Karakoyunlu, B. Birand, B. Sunar, Improving the robustness of ring oscillator TRNGs. ACM Trans. Reconfigur. Technol. Syst. 3(2), 9:1–30 (2010)
Z.L. Yuan, B.E. Kardynal, A.W. Sharpe, A.J. Shields, High speed single photon detection in the near infrared. Appl. Phys. Lett. 91, 041114 (2007)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Stipčević, M., Koç, Ç.K. (2014). True Random Number Generators. In: Koç, Ç. (eds) Open Problems in Mathematics and Computational Science. Springer, Cham. https://doi.org/10.1007/978-3-319-10683-0_12
Download citation
DOI: https://doi.org/10.1007/978-3-319-10683-0_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-10682-3
Online ISBN: 978-3-319-10683-0
eBook Packages: Computer ScienceComputer Science (R0)