Suppose $H$ is a hash function; why is $H(k||H(k||m))$ not secure?
See this HMAC definition. In there, indeed two keys are used and the mac algorithm is $H(k_1 ||H(k_2 ||m))$ . Why don't we use $H(k||H(k||m))$, which has only one key?
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2 years ago