03-10-2013, 01:13 PM
The main optimization idea bases on the fact that we have W[5] - W[13] (in MD5) set to zero. If its zero there is no need to add the secret key to the intermediate digest because X + 0 = X. For each step in which these variables are used in we can remove the call to ADD.