Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2017-09-05
上海汇尔通信息技术有限公司
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] To sum up, the existing random number generation schemes applied to devices with high real-time requirements such as POS terminals are poor in unpredictability

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Random number generation method and system
  • Random number generation method and system
  • Random number generation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] This embodiment provides a random number generation method, including:

[0075] S1. Generate a hardware random number through a hardware circuit;

[0076] Wherein, the hardware random number R1 is generated through a hardware circuit;

[0077] S2. Collecting the values ​​of the operating parameters 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 and 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 can be the unique identifier of the hardware circuit chip or the unique identifier of the POS machine running the 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:

[0082] S41. Generate an i...

Embodiment 2

[0092] This embodiment also provides a random number generation method, including:

[0093] S1. Generate a hardware random number through a hardware circuit;

[0094] S2. Collecting the values ​​of the operating parameters 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. Extracting preset bytes in the hardware random number to obtain a second random number;

[0098] S42. Using the second random number as an input of a preset random number generating function, generate a third random number;

[0099] S43. XOR 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 number, the value of the operating pa...

Embodiment 3

[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 by hardware circuits; the acquisition module 2 collects the value of the operating parameters during the operation of the random number generator; the acquisition module 3 obtains 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 extracting unit 5 extracts a preset value in the hardw...

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 the random number field, in particular to a random number generation method and system. The method includes the steps of generating a hardware random number through a hardware circuit; collecting the values of operation parameters during the operation process of a random number generator; obtaining a unique identifier of a hardware in the random number generator; according to the hardware random number, the values of the operation parameters and the unique identifier, generating a first random number. The random number generation method and system realize the improvement of the unpredictability of random numbers under the premise of efficiently generating the random numbers.

Description

technical field [0001] The invention relates to the field of random numbers, in particular to a method and system for generating random numbers. Background technique [0002] In the process of conducting financial transactions through POS terminals, many links need to use random numbers, for example, generating random numbers as keys or parameters for two-way authentication of data exchange in sensitive data exchange, etc. Once the random number is unpredictable If security is not guaranteed, criminals can obtain keys by predicting random numbers or obtain sensitive data from a party pretending to be two-way authentication. In this way, the cardholder’s personal information may be exposed, and transaction data may be tampered with. Seriously endanger the normal financial order of the society. Therefore, the unpredictability of random numbers is an important factor to ensure the security of financial transactions through POS terminals. [0003] At present, there are two sch...

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
no application Login to View More
IPC IPC(8): G06F7/58G07G1/12
CPCG06F7/588G07G1/12
Inventor 谢芳铭林培春
Owner 上海汇尔通信息技术有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More