Method and system for generating truly random numbers based on parity of physical noises
A technology of true random numbers and physical noise, applied in the field of random number generators, can solve the problems of high security, poor anti-interference ability, poor stability, etc., and achieve the effect of low manufacturing cost, strong anti-interference ability and good stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0040] Such as figure 1 A flow chart of a preferred embodiment of a method for generating a true random number in the present invention shown, the method includes the following steps:
[0041] 1) Physical noise sources generate noise signals;
[0042] 2) Carry out analog / digital conversion to the noise signal that step 1) produces, generate digital noise signal;
[0043] 3) Judging the parity of the digital signal generated in step 2). If it is an odd number, a binary random number 1 is output, and if it is an even number, a binary random number 0 is output;
[0044] 4) Return, and execute from step 1).
[0045]In the above embodiments, steps 1)-2) are to obtain the noise signal generated by the physical noise source and convert it into a digital noise signal. And step 3) is to output binary random number 0 or 1 according to the parity of the digital noise signal, wherein, step 3) is to output random number according to a predefined binary random number output rule.
[00...
no. 2 example
[0056] In order to improve the random number quality and make the ratio of 1 and 0 in the final output binary random number sequence more equal, the present invention can also dynamically exchange the pre-defined binary random number output rule i) and the setting of rule ii) to the above-mentioned single-chip microcomputer , that is, if the original rule is:
[0057] Rule i): If the digital noise signal is even, output binary random number 0;
[0058] If the digital noise signal is odd, output binary random number 1;
[0059] The exchanged rule becomes:
[0060] Rule ii): If the digital noise signal is even, output binary random number 1;
[0061] If the bit number of the segment is an odd number, a binary random number 0 is output.
[0062] vice versa.
[0063] The above-mentioned dynamic exchange rules can be exchanged according to the number of cycles, for example, the rule is exchanged once every output of m-digit random numbers (m is greater than 1), or can be exchan...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com