So my Question is a combination of 3:
- Does HMAC hashing also hash the message along with the Secret key send to the recipient? Or just the Secret key is hashed, leaving the message as Plaintext?
- If ONLY the secret key is hashed(not hashing the message), doesn't it makes the message vulnerable to unauthorized people(attackers) if they get access to that Plaintext and easily understand it?
- If both(message + secret key) are concatenated to form the hash, how HMAC is different from the 'SALTING' method?