Method for detecting capacity of SHA-1 algorithm for resisting attack of differential fault
暂无分享,去创建一个
The invention provides a method for detecting the capacity of an SHA-1 algorithm for resisting the attack of a differential default. The method comprises the steps: processing an input message by utilizing SHA-1; implementing two controls for an actuation environment in the stage for processing the message, namely, controlling the processing flow to be carried out accurately, recording an output result as C, manually leading in a fault in the processing flow on the premise of guaranteeing the message processing, inducing an error output result, and recording the error output result as C*; evaluating the resisting capacity of the SHA-1 for the attack of the differential fault by calculating the differential value of the C and C*, predicting the position of the fault if the fault is detected, and further judging the effectiveness of the fault position. The method has characteristics of simplicity, rapidness, accuracy, easiness in realization and the like, and a good theoretical evidence is provided for detecting the capacity of the SHA-1 algorithm for resisting the attack of the differential fault.