Unlock instant, AI-driven research and patent intelligence for your innovation.

Key diffusion method and key diffusion device

A key and initial key technology, applied in the field of keys, can solve the problems of reducing the reliability of the divergence key, long divergence time, and selection, etc., and achieve the effect of saving divergence time and improving reliability.

Active Publication Date: 2016-10-19
NEW POS TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiment of the present invention is to provide a key divergence method, which aims to solve the existing key divergence method, the divergence time is long, and when multiple divergence keys are generated, it is impossible to select the Preferred divergent keys, reducing the reliability of divergent keys

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
  • Key diffusion method and key diffusion device
  • Key diffusion method and key diffusion device
  • Key diffusion method and key diffusion device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is an implementation flowchart of the key divergence method provided by the embodiment of the present invention, and is described in detail as follows:

[0023] In step S101, obtain the preset count value, terminal serial number and pre-configured basic divergent key, and generate an initial key;

[0024] Wherein, the basic divergent key is preconfigured, and the basic divergent key is stored in a preset area.

[0025] The preset count value can be the system default, or can be set by yourself, and there is no limitation here.

[0026] Wherein, when an event of sending a message is detected, step S101 is executed.

[0027] In step S102, the count value of current counter is converted into the count value of shift counter;

[0028] In step S103, the count value bit of the shift counter is obtained as the number of 1, and the number of bits is 1 as the number of times of divergence, according to the preset order, the count value of the shift counter, the te...

Embodiment 2

[0031] figure 2 It is an implementation flowchart of step S101 of the key distribution method provided by the embodiment of the present invention, and is described in detail as follows:

[0032] In step S201, combine the preset count value and terminal serial number to generate initial mixed data;

[0033] In step S202, the hash value of the initial mixed data and the hash value of the pre-configured basic divergent key are obtained by using a hash function;

[0034] Among them, the hash value of the initial mixed data and the hash value of the pre-configured basic divergent key can be obtained by using the SHA hash function, or the hash value of the initial mixed data and the pre-configured key can be obtained by using the MD5 hash function. The hash value of the base diverged key.

[0035] In step S203, an exclusive OR operation is performed using the hash value of the mixed data and the hash value of the pre-configured basic divergent key to generate an initial key.

[...

Embodiment 3

[0038] image 3 It is an implementation flowchart of step S102 of the key divergence method provided by the embodiment of the present invention, and is described in detail as follows:

[0039] In step S301, obtain the number of bits of the current counter that are 1, and obtain the number of bits of the current counter that are 0;

[0040] In step S302, it is judged whether the number of the bit position of the current counter is 1 is less than the preset threshold value, and whether the number of the bit position of the current counter is 0 is less than the preset threshold value;

[0041] In step S303, if so, the count value of the current counter is converted into the count value of the shift counter; if not, the count value of the current counter is divided into a high count value and a low count value according to the number of digits of the count value of the current counter , to shift the high count value, add 1 or 0 to the low count value, and convert the count value ...

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 is suitable for the field of keys, and provides a key diffusion method and a key diffusion device. The key diffusion method comprises the steps of acquiring a preset counting number, a terminal serial number and a pre-configured basic diffusion key, and generating an initial key; converting the current counting number of a counter to the counting number of a displacement counter; acquiring the number of bits of the counting number of the displacement counter, wherein the bits are 1 respectively, using the number of the bits which are 1 as the number-of-times of diffusion, diffusing the initial key according to a preset sequence, the counting number of the displacement counter, the terminal serial number, the initial key and the number-of-times of diffusion, and generating an optimized diffusion key, alternatively, acquiring the number of bits of the counting number of the displacement counter, wherein the bits are 0 respectively, using the number of the bits which are 0 as the number-of-times of diffusion, diffusing the initial key according to the preset sequence, the counting number of the displacement counter, the terminal serial number, the initial key and the number-of-times of diffusion, and generating an optimized diffusion key. The key diffusion method and the key diffusion device improve reliability of the diffusion key.

Description

technical field [0001] The invention belongs to the field of keys, in particular to a key distribution method and device. Background technique [0002] A key is a parameter that converts plaintext to ciphertext or ciphertext to plaintext. With the popularization of the key function, more and more user devices and servers use the key distribution method to generate keys and convert plaintext to ciphertext or ciphertext to plaintext to improve the security of the interactive system. [0003] However, the existing key distribution method takes a long time to distribute, and when multiple distribution keys are generated, it is impossible to select a preferred distribution key from among the multiple distribution keys, which reduces the reliability of the distribution key. The reason is that the existing divergence key divergence method needs to process a large amount of data during divergence, and the divergence key cannot be generated in a very short time, and when generating ...

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): H04L9/06
Inventor 黄俊斌李华陈候进欧阳伟权李鹤祥
Owner NEW POS TECH