Lightweight true random number generation method

A true random number, lightweight technology, applied in the fields of information security and cryptography, it can solve the problems of large receiving bandwidth of mobile phone antenna, difficulty in obtaining true random number, affecting the communication function of mobile phone, etc., to achieve the effect of improving randomness

Pending Publication Date: 2020-05-12
杭州安司源科技有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the one hand, this method requires the mobile phone antenna to have a large receiving bandwidth; on the other hand, the collection process needs to monopolize the mobile phone antenna, which affects the most important communication function of the mobile phone
Moreover, the development of this method and the difficulty of integrating with APP are relatively large.
It can be seen that the existing methods are either difficult to obtain true random numbers, or the difficulty and cost of implementation are relatively high

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described through embodiments below.

[0027] A lightweight true random number generation method, the method steps are as follows:

[0028] 1. Consider that the typical way for users to shake randomly is to shake or wave the mobile phone, and its trajectory is usually fast back and forth. Take the common mutation points of the values ​​of the accelerometer and gyroscope, these points constitute the inflection points of the trajectory, and the intermediate moment between two consecutive inflection points is roughly the midpoint of the trajectory. So there are two inflection points and two midpoints back and forth.

[0029] 2. Within 5 seconds, the values ​​of the accelerometer and gyroscope at the inflection point and midpoint are respectively summed and averaged as a reference value.

[0030] 3. The values ​​sampled at subsequent inflection points and midpoints are compared with their respective reference values, and a positive de...

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 discloses a lightweight true random number generation method. The method comprises the following steps: (1) generating spatial motion trail characteristics of a mobile phone according tosignals of an accelerometer and a gyroscope; (2) taking the initial five-second spatial motion trail characteristics as reference values; (3) comparing the motion trail characteristic parameters acquired in real time with a reference value, wherein the output bit of forward deviation from the reference value is '1', and the output bit of reverse deviation from the reference value is '0'; and (4)when the length of the bit string output in the previous step reaches a specified value, hashing the bit string by using the selected hash function, and outputting the hash to obtain the generated random number sequence. The beneficial effects of the lightweight true random number generation method are that the data of the accelerometer and the gyroscope are fused to obtain the motion trail information of the mobile phone and generate random bits according to the trail range and amplitude; and an independent random number generation module can be formed, and randomness, unpredictability and non-reproducibility of data collected by an accelerometer and a gyroscope are improved.

Description

technical field [0001] The invention belongs to information security and encryption methods, and in particular relates to a light-weight true random number generation method. Background technique [0002] Random numbers are important resources in information security and cryptographic applications. They can be used as padding fields in encryption algorithms to ensure semantic security, or as one-time fresh numbers in authentication protocols to ensure authenticity, or even as temporary session keys directly to User data is encrypted. The quality of random numbers has a decisive impact on information security. Good random numbers generally require randomness, unpredictability, and non-reproducibility. At present, there are more and more mobile APP applications with security requirements. Due to the lack of effective high-quality random number generation methods, even if these APP applications adopt relatively secure encryption algorithms or authentication protocols, their ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/58G06F21/60G06K9/62
CPCG06F7/588G06F21/602G06F18/251
Inventor 张权
Owner 杭州安司源科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products