Method and device for generating true random number
A technology of true random number and generating device, applied in the field of security encryption, can solve the problems of inferring the output number of the generator and the non-repeatable random number sequence of the algorithm, and achieve the effect of simplifying the hardware structure
CN102479067AInactive Publication Date: 2012-05-30上海宇芯科技有限公司
5 Cites 10 Cited by
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2012-05-30
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
The invention relates to a method and a device for generating a true random number. The device comprises a high frequency oscillator, an initial seed number generation unit, an error diffusion calculation unit, a linear feedback unit, a control unit and a random number output unit, wherein the output end of the high frequency oscillator is connected with the input end of the initial seed number generation unit; the output end of the initial seed number generation unit is connected with the input end of the error diffusion calculation unit; the output end of the error diffusion calculation unit is connected with the linear feedback unit; the output end of the linear feedback unit is connected with the control unit; and the control unit is connected with the random number output unit. The device achieves a metastable state circuit only by using general logic hardware, so the hardware structure is simplified; one-time-pad is realized by storing an initial seed number in a cache reset at each time; judgment and feedback control are realized by using a generator polynomial; and a secure hash algorithm is realized by using an error diffusion process, therefore, an effect that the random number is difficult to copy or forecast is achieved.
Need to check novelty before this filing date? Find Prior Art