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

Method and device for acquiring hashed values of data

An acquisition method and an acquisition device technology, which are applied in the field of data hash value acquisition, can solve problems such as long calculation time, and achieve the effect of improving calculation efficiency

Inactive Publication Date: 2015-03-11
李梅
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The invention discloses a data hash value acquisition method and device, which are used to solve the problem in the prior art that the calculation time is too long due to the serial processing mode for obtaining the hash value of large data

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
  • Method and device for acquiring hashed values of data
  • Method and device for acquiring hashed values of data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, but the present invention can be implemented in a variety of different ways defined and covered by the claims.

[0021] figure 1 Shows a flowchart of a method for obtaining a data hash value according to an embodiment of the present invention.

[0022] See figure 1 As shown, the data hash value acquisition method includes:

[0023] S101: Define a Hash algorithm as an algorithm for obtaining a data hash value, where the data input length of the Hash algorithm is m;

[0024] S103: Group the preset data (X) into: A1, A2, A3...AK, and the lengths of A1, A2, A3...AK are equal, all of which are d, and the d is greater than m and is an integer multiple of m ;

[0025] S105: Call the Hash algorithm to obtain the hash values ​​of A1, A2, A3...AK respectively, and define the hash values ​​of A1, A2, A3...AK as: B1, B2, B3...BK;

[0026] S107: Connect B1, B2, B3... BK is d...

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 method and a device for acquiring hashed values of data. The method and the device are used for acquiring the hashed values of the data. The method for acquiring the hashed values of the data comprises the following steps of defining a Hash algorithm as an algorithm of the method for acquiring the hashed values of the data, wherein the data input length of the Hash algorithm is m; grouping preset data (X) as A1, A2, A3, ......, AK which have the equal length d, wherein d is greater than m and is an integral multiple of m; calling the Hash algorithm to acquire the hashed values of A1, A2, A3, ......, AK respectively, and defining the hashed values of A1, A2, A3, ......, AK as B1, B2, B3, ......, BK respectively; connecting B1, B2, B3, ......, BK as data (Y); calling the Hash algorithm to acquire the hashed values of the data (Y), and defining the hashed values of the data (Y) as Z, wherein Z represents the hashed values of the groups, with the lengths d, of the data (X). According to the method for acquiring the hashed values, the problem of long operation time caused by the fact that a conventional hash value algorithm cannot play parallel processing capability is solved.

Description

Technical field [0001] The invention relates to the field of data encryption security, and more specifically to a method and device for obtaining a data hash value. Background technique [0002] When encrypting and authenticating information or obtaining a check value, it is often necessary to obtain the hash value of the data. At present, the internationally used data hashing technologies such as MD4, MD5, SHA1, etc. are mainly based on the MD4 algorithm. However, these algorithms all group the original data, and obtain the hash value from the first group. After the obtained result is combined with the next set of data, the hash value of the combined data is calculated until the Get the last group, the final result is the hash value of the entire data. [0003] Specifically, the process of obtaining the hash value of the data in the prior art solution is as follows: [0004] Let the hash algorithm be Hash, and the input data length of the Hash algorithm is m. The processing proce...

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): G06F21/62
CPCG06F16/9014
Inventor 李梅
Owner 李梅