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

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上海宇芯科技有限公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating true random number
  • Method and device for generating true random number
  • Method and device for generating true random number

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Hereinafter, a true random number generating device of the present invention will be further described in detail with reference to the accompanying drawings.

[0028] See figure 1 The true random number generation device includes a high-frequency oscillator, an initial seed number generation unit, an error diffusion calculation unit, a linear feedback unit, a control unit, and an output unit, wherein the control unit includes a judgment unit.

[0029] The high-frequency oscillation signal generated by the high-frequency oscillator is input to the initial seed number generating unit, which is electrically connected to the error diffusion calculation unit, and the initial seed number generated by the initial seed number generation unit is sent to the error diffusion calculation unit, The output of the error diffusion calculation unit is connected to the linear feedback unit, and the linear feedback unit feeds back the output of the error diffusion calculation unit to the contro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

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.

Description

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
30 May 2012
Publication
CN102479067A