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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 