Random number generation method and system
A random number generator and generation system technology, applied in the field of random numbers, can solve problems such as poor unpredictability of random number generation schemes, and achieve the effects of high unpredictability, efficient generation, and improved randomness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Example Embodiment
[0073] The first embodiment of the present invention is:
[0074] This embodiment provides a method for generating random numbers, including:
[0075] S1. Generate hardware random numbers through hardware circuits;
[0076] Among them, the hardware random number R1 is generated through the hardware circuit;
[0077] S2. Collect the value of the operating parameter during the operation of the random number generator;
[0078] Wherein, the value R4 of the operating parameter may be the system startup time, the number of system interruptions, the RTC time, etc.;
[0079] S3. Obtain the unique identifier of the hardware in the random number generator;
[0080] Wherein, the unique identifier R5 of the hardware may be a unique identifier of a hardware circuit chip or a unique identifier of a POS machine running a random number generator;
[0081] S4. Generate a first random number according to the hardware random number, the value of the operating parameter, and the unique identifier; specifically:
Example Embodiment
[0091] The second embodiment of the present invention is:
[0092] This embodiment also provides a random number generation method, including:
[0093] S1. Generate hardware random numbers through hardware circuits;
[0094] S2. Collect the value of the operating parameter during the operation of the random number generator;
[0095] S3. Obtain the unique identifier of the hardware in the random number generator;
[0096] S4. Generate a first random number according to the hardware random number, the value of the operating parameter, and the unique identifier; specifically:
[0097] S41. Extract a preset byte in the hardware random number to obtain a second random number;
[0098] S42. Use the second random number as an input of a preset random number generation function to generate a third random number;
[0099] S43. Exclusive OR the second random number and the third random number to obtain a fourth random number;
[0100] S44. Generate the first random number according to the fourth random
Example Embodiment
[0101] The third embodiment of the present invention is:
[0102] Such as image 3 As shown, this embodiment provides a random number generation system, including:
[0103] The first generation module 1 generates hardware random numbers through hardware circuits; the acquisition module 2 acquires the values of operating parameters during the operation of the random number generator; the acquisition module 3 acquires the unique identifier of the hardware in the random number generator; the second generation module 4 Generating a first random number according to the hardware random number, the value of the operating parameter, and the unique identifier;
[0104] Wherein, the second generation module 4 includes a first generation unit 41, an encryption unit 42, and an update unit 43;
[0105] The first generating unit 41 generates an initial vector and an initial key according to the hardware random number, the value of the operating parameter, and the unique identifier; specifically, the
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap