| CPC H04L 9/0643 (2013.01) [H04L 2209/046 (2013.01); H04L 2209/12 (2013.01)] | 7 Claims |

|
1. A general-purpose lightweight hash processing method, applied to a general-purpose lightweight hash processing system and comprising:
selecting a linear feedback shift register, and performing state transition on the linear feedback shift register by using a register state transition function;
initializing an internal state of a hash algorithm by using an output of the linear feedback shift register in combination with an initialize algorithm;
inputting data of which a hash value needs to be calculated, and updating the initialized internal state by using an update algorithm, where the data of which the hash value needs to be calculated is the padded data; and
processing the updated internal state by using a finalize algorithm to generate a final hash value.
|