An ultra-fast physical random number generator is demonstrated utilizing a photonic integrated device based broadband chaotic source with a simple post data processing method. The compact chaotic source is implemented by using a monolithic integrated dual-mode amplified feedback laser (AFL) with self-injection, where a robust chaotic signal with RF frequency coverage of above 50 GHz and flatness of ±3.6 dB is generated. By using 4-least significant bits (LSBs) retaining from the 8-bit digitization of the chaotic waveform, random sequences with a bit-rate up to 640 Gbit/s (160 GS/s × 4 bits) are realized. The generated random bits have passed each of the fifteen NIST statistics tests (NIST SP800-22), indicating its randomness for practical applications.
High-quality random numbers are the key component of multiple technologies, such as secure communicatioτns1, quantum communications2, Monte-Carlo simulations3, stochastic modeling4 and even lotteries. The unpredictability and irreproducibility of the random bits are of paramount importance in those applications. Moreover, the generation speed of the random bits determines the bit-rate of secure communication and data encryption. It is necessary to realize high-speed random numbers to keep up with the data rate of modern communication systems.
Random numbers generated by deterministic algorithms have been commonly used in many systems5,6. It adds little hardware cost, but the speed is limited by the processing chips and its deterministic and periodical nature will cause serious problems, such as data theft in communication systems and fatal mistakes in computing. Physical random numbers generated by intrinsically non-deterministic physical processes can overcome those flaws and ensure the confidentiality. The commonly used physical processes contain thermal noise in resistors7, frequency jitter of oscillators8, amplified spontaneous emissions from super-luminescent diodes9, the spatial resolution of single photon emission10 and photon events in attenuated light11. However, their bit rates are limited by the bandwidths of physical entropy sources, which are generally around or below GHz scale.
With the advantages in intensity and bandwidth, optical chaos signal generated by laser diode has been proved to be an excellent entropy source for physical random number generation (RNG). It consists of ultra-short pulses with irregular amplitudes and phases under nanosecond scale. However, due to the intrinsic relaxation oscillation or required external feedback, the generated signal contains non-eliminated correlations12. Therefore, post data processing is indispensable to enhance the randomness of chaos-based RNG.
In 2008, Uchida et al.13 have reported the first chaotic laser based RNG, showing the feasibility and potential of this technology. They have used exclusive-OR (XOR) of two chaotic signals with different feedback delays to suppress the time delay signature and a RNG rate of 1.7-Gbit/s has been achieved. Since then, many efforts have been devoted to increase the bit-rate of chaos-based RNG. One of the promising methods is the optimization of post data processing. In 2009, Reidler et al.14 have proposed a novel least significant bits (LSBs) interception method, which multiplies the generation rate through multiple-bit sampling. They have enhanced the RNG rate to 12.5 Gbit/s by using 5-LSBs sampled at 2.5 GS/s. At the same year, Kanter et al.15 have further increased the RNG rate to 300 Gbit/s through calculating high-order derivative of the chaotic waveform and retaining a number of LSBs. Based on this approach, in 2014, Li et al.16 have successfully achieved a 2.2 Tbit/s random bits by calculating 62th-order finite differences with 55 LSBs retaining. And in 2016, Butler et al.17 have realized a 1 Tbit/s generation rate using 10 retained valid bits after calculating 7th-order derivatives. In 2012, Akizawa et al.18 have proposed and utilized a bit-order-reversal method, where 400-Gbit/s random bits have been realized. In 2015, Tang et al.19 have realized a 1.12 Tbit/s RNG rate by merging of two random-bit streams processed by the bit-revise and LSBs methods. Another way for fast RNG is enhancing the bandwidth of the chaotic source. In 2010, Hirano et al.20 have achieved a 75-Gbit/s RNG rate by utilizing a bandwidth-enhanced chaotic laser, where a cascading optical feedback and injection structure was used to realize a 16-GHz chaotic bandwidth. In 2015, Sakuraba et al.21 have further increased the RNG rate to 1.2 Tbit/s by using a 35.2-GHz bandwidth-enhanced three-cascaded laser structure. In addition, several photonic integrated chaotic entropy sources22,23,24,25 have been developed to improve the robustness and compactness of the RNG system. Those devices have shown high performance, but their chaotic bandwidths were around or below 10 GHz, which resulted in a relatively lower RNG rate.
By optimizing the post data processing method and enhancing the chaotic bandwidth, the chaos-based RNG rate has already exceeded Tbit/s16,17,19,21. However, in order to enhance the RNG rate, merging of two random-bit streams processed by bit-revise and LSBs methods were used in post data processing19,21 or only “quasi-physical” random bits could be generated since high-order derivative method was needed to acquire additional valid bits exceeded the raw ADC16,17. These complicated post data processing methods could hardly work on-line since high-speed computing and high-frequency clock synchronization circuits were indispensable. Enhancing the chaotic bandwidth is a promising way to realize high RNG rate with simple post data processing method. However, currently developed bandwidth enhanced chaotic sources were complex, need precise control of the system and the enhanced bandwidth was still limited20,21. Thus, a simple and compact chaotic source with much wider bandwidth would be very attractive. Furthermore, a simple post data processing method is critically important to weak algorithm effect for high quality physical RNG and to simplify the electronic back ends in practical applications.
In this work, a compact and high-bit-rate RNG scheme is demonstrated using a PIC-based broadband chaotic source with a simple post data processing. The chaotic signal is generated by a monolithic integrated dual-mode amplified feedback laser (AFL) with self-injection, which has an RF frequency range of above 50 GHz and a spectrum flatness of within ±3.6 dB. The chaotic intensity is converted into an 8-bit digital signal by sampling with a wideband digital oscilloscope at 160 GS/s. After 4-least significant bits (LSBs) truncation, 640-Gbit/s physical random numbers are successfully generated and passed all 15 NIST statistics tests (NIST SP800-22). This high-quality and high-bit-rate random number generator is compact, simple and easy for fully integration, which can be a reliable technique for future communication and computing systems.
Figure 1 shows the schematic diagram of the fast physical RNG setup. The broadband entropy source is originated from an optical feedback system employing a monolithic integrated dual-mode amplified feedback laser (AFL) as the light source. The post data processing uses only the simple LSBs method.
Chaos generation unit
The dual-mode AFL, as shown in the inset of Fig. 1, is formed by a DFB laser section with a short integrated feedback cavity. The 220-μm DFB laser section functions as the laser source and the integrated feedback cavity consists of a 240-μm phase section and a 320-μm amplifier section allowing the control of the feedback phase and strength. By adjusting the DC bias currents of each section, the device can work in the dual-mode state as long as the two laser modes have comparable threshold gain. Detailed fabrication and characterization of this device have been reported in our early paper26. The fiber-based external optical feedback loop is used to drive the two lasing modes entering the chaos state. Under proper mode-spacing, nonlinear coupling of the two chaotic modes will generate a broadband chaotic signal with a flat RF spectrum. Compared with traditional optical feedback systems using single-mode-lasers, the chaotic bandwidth, as well as spectrum flatness of the proposed scheme enhanced greatly with no additional system complexity.
In the measurement, the laser was mounted in butterfly package with a fiber pigtail coupled from the facet of the DFB section. It employed no optical isolator to allow external optical feedback. The temperature of the device was maintained at 25 °C by a thermoelectric cooler (TEC). An optical circulator was used to guide the output of the laser feedback to itself. The fiber feedback loop consisted of an erbium-doped fiber amplifier (EDFA, Amonics IL-13) and a variable optical attenuator (VOA), which boosted the output power and controlled the feedback strength, respectively. A polarization controller (PC) was used to adjust the polarization. It could be omitted if polarization maintaining fibers were used for all the fiber components. The fiber length of the feedback loop was 22.5 m, corresponding to a feedback delay time (round-trip) of 220 ns. This relatively long delay time is resulted from the long fiber loop. It could be efficiently reduced either when a SOA is employed to replace the EDFA or by shortening the pigtail of fiber devices.
Post data processing unit
The generated chaos signal was converted into an electronic signal through a broadband photodiodes (u2t XPDV2320R, 50 GHz bandwidth), and then acquired by a wideband digital oscilloscope (Keysight Z-594d, 59-GHz analog bandwidth, 160 GS/s sample rate, 8-bit vertical resolution). The signal was also monitored by an RF spectrum analyzer (ESA, Agilent PXA N9030A, 50-GHz bandwidth) and an optical spectrum analyzer (Advantest Q8384, 0.01 nm resolution).
In the post data processing stage, a LSBs-only method is used to eliminate the time delay signature and enhance the randomness of the signal. This simple method corresponds to a relatively simpler electronic back ends and more easily to be implemented in real applications. In the experiments, the chaotic waveform was digitized by an 8-bit analog-to-digital converter (ADC) in the oscilloscope. Random bit is then generated after retaining a number of LSBs by a computer.
Property of PIC-based chaotic source
Firstly, the property of the broadband chaotic source is investigated. When the bias currents of DFB section (IDFB), phase section (IP), and amplifier section (IA) were 80 mA, 0 mA and 70 mA, respectively, the AFL worked in the dual-mode state as the optical spectrum shown in Fig. 2(a). The mode spacing of the two wavelengths was 0.228 nm, beating of which at a PD generated a 28.4-GHz RF signal as shown in Fig. 2(b). By adjusting the DC currents of each laser section, beating frequency of the device could be tuned continuously from 25 to 41 GHz, which greatly facilitates the choosing of optimal lasing conditions in chaos generation. When the feedback loop is connected, both the power feedback to the dual-mode AFL and delivered to the PD can be controlled through the EDFA and VOA. By setting the injection power as 6 dBm, which was estimated from the power at port 1 of the circulator, the two lasing modes entered chaotic state simultaneously. Feedback strength (η) of this state is 0.15, which is defined as the power ratio of the feedback signal and laser output in consideration of the coupling loss at laser facet (≈50%). Through the nonlinear coupling of the two chaotic wavelengths in the laser cavity, a broadened optical spectrum is achieved as shown in Fig. 2(c). The −20-dB bandwidth of the spectrum is 0.71 nm. The corresponding RF spectrum is illustrated in Fig. 2(d), which shows a flat distribution and covers an RF frequency range up to the frequency limit (50 GHz) of the ESA. The flatness of this spectrum is ±3.6 dB, which is the difference between the maximum and minimum powers in the whole frequency range. Figure 3(a) presents the temporal waveform of the chaotic signal, which shows noise-like intensity oscillation in a sub-nanosecond scale. The calculated probability density distribution of the temporal waveform is plotted in Fig. 3(b). The asymmetry of the distribution is identified by comparing it with the Gaussian fitted curve, which is plotted as the red dotted line in 3(b). As can be seen, the original chaotic intensity deviates from a Gaussian distribution. The autocorrelation trace is shown in Fig. 3(c). It can be clearly seen that peaks appear at the delay time (τ) of the external feedback loop, which is located at 0.22 μs with a correlation coefficient (C) of 0.21. The inset of Fig. 3(c) is the zoom-in view of the center autocorrelation peak. As can be seen, a series of side lobes around the main peak appear, which are caused by the relaxation oscillation of the laser. Those peaks caused by intrinsic laser characteristics and delay feedback structure would induce periodicity and have bad influences on random number generation. Post data processing is used to eliminate them.
To further investigate this chaotic source, the dynamic processes of the dual-mode AFL evolving into the chaotic state are presented in Fig. 4. As can be seen, with the increasing of feedback strength, an evaluation-route quite different from a single-mode laser is observed. The two lasing modes do not follow a period doubling or quasi-periodicity route due to the nonlinear coupling of them in the laser cavity. From the top to the bottom of Fig. 4, the feedback strength is (a) free-running; (b) −5 dBm; (c) −2.9 dBm; (d) −0.8 dBm; (e) 3.7 dBm and (f) 6 dBm, respectively. As shown in Fig. 4(b), at −5-dBm feedback strength, some side peaks around the two main modes appear in optical spectrum and the corresponding beating RF signal broadens. These side modes result from feedback-induced undamped relaxation oscillation27. The broadening of the beating signal is caused by the linewidth broadening of the two lasing modes under optical feedback28. With the increasing of feedback strength, more side peaks are excited as shown in Fig. 4(c). In the RF spectrum, the beating signal broadens continuously. And the frequency components around the relaxation frequency (≈10 GHz) can be observed. When the feedback strength is −0.8 dBm, as shown in Fig. 4(d), frequency components around the relaxation frequency enhances dramatically. Due to the nonlinear mixing between the beating frequency components and relaxation frequency components, some new frequencies around 18 GHz appear. Through further increasing of the feedback strength, those frequency peaks broaden gradually and connect with each other due to the enhanced lower frequency components and wave-mixing effect, as shown in Fig. 4(e). When the feedback strength reaches 6 dBm, both the optical and RF spectra expand and flat significantly as shown in Fig. 4(f). A flat chaos spectrum with wide frequency range is achieved. The chaotic source maintains this state until the feedback strength increases to 10 dBm. Further increasing of feedback power is not performed to prevent possible damage to the device.
Post data processing
Due to the residual correlation and biases of the chaotic source, post data processing is necessary for extracting random bits from the generated chaotic waveform. Enhancing the quality of the chaotic source can efficiently simplify this procedure and correspondingly simplify the electronic back ends when implemented in real applications.
Benefited from the quality of our chaotic source, only a simple and efficient LSBs post data processing method is applied to our experiments. The most significant bits (MSBs) in a binary number are the bits at positions of the higher exponents of 2. They represent the overall fluctuation and bias of the sampling point, which contain the information of residual correlations. Therefore, eliminating several MSBs and retaining a number of LSBs can destroy the residual correlations and efficiently improve the uniformity of the bit distributions. Figure 5(a–d) illustrate the distributions of 30 million bits when different numbers of LSBs are retained. Figure 5(a) is the histogram for the 7-LSBs signal, which shows an obvious non-uniform distribution that certain values have higher probabilities. Through more numbers of MSBs truncation, as shown in Fig. 5(b,c) where 6- and 5-LSBs are retained, respectively, the uniformity of the bits distribution is clearly improved. When 4-LSBs of each 8-bit sample are retained, a flat histogram is achieved as shown in Fig. 5(d). Furthermore, the effects of LSBs on the elimination of residual correlations are investigated. Figure 6 shows the autocorrelation function of the chaotic signal under 4-LSBs retaining. To make a comparison, the autocorrelation function of the original 8-bits signal (Fig. 3(c)) is also placed in Fig. 6. As can be seen, the autocorrelation peaks corresponding to the feedback time and the side lobes around the main peak are removed when 4 MSBs are eliminated. Thus, retaining of 4 LSBs are sufficient to provide a flat histogram and eliminate the residual correlations that appear in the chaotic waveform.
Ultra-fast random number generation
In random bits generation procedure, the wideband digital oscilloscope recorded 1 Gbit samples of 8-bit data at 160 GS/s sampling rate. Those samples were truncated from the initial signal to its 4 LSBs. Then, random sequences with a rate up to 640 Gbit/s (160 GS/s × 4 bits) were generated. Figure 7 shows a visualization of the randomness of the generated bits. 600 × 600 black and white dots, which represents ‘1’ and ‘0’, are placed from left to right and from top to bottom. As can be seen, there are no obvious patterns in the figure which indicates a good randomness. To verify the statistical randomness of the generated random bits, the recorded 1 Gbit data were divided into 1000 sequences of 1 Mbit data and evaluated using standard test provided by National Institute of Standards and Technology (NIST SP 800-22). As show in Table 1, the generated random bits successfully pass all the 15 NIST tests.
We experimentally demonstrated a simple scheme to generate fast physical random bits up to 640 Gbit/s. The flat broadband chaotic source was realized by a monolithically integrated dual-mode AFL with self-injection, which achieved an RF frequency range of above 50 GHz and a flatness of ±3.6 dB. The dynamic routes from dual-mode lasing into the chaotic state were discussed in detail. By using 4-least significant bits (LSBs) truncation from 8-bit digitization at 160 GS/s, high-quality physical random bits were successfully generated. This fast random number generator is simple in both chaotic source and data processing, which has great potential to be used in practical systems.
How to cite this article: Zhang, L. et al. 640-Gbit/s fast physical random number generation using a broadband chaotic semiconductor laser. Sci. Rep. 7, 45900; doi: 10.1038/srep45900 (2017).
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This work was supported by the National Natural Science Foundation of China (Grant No. 61335009, 61321063, 61274045).
This work is licensed under a Creative Commons Attribution 4.0 International License. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license, users will need to obtain permission from the license holder to reproduce the material. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/