Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 18411

a method for constructing a message authentication code based on a cryptographic hash function.

38 votes

What's the difference between HMAC-SHA256(key, data) and SHA256(key + data)

With non-Merkle-Damgård hashes, you don't necessarily need the HMAC construction, though. …
cpast's user avatar
  • 7,463
5 votes
Accepted

HMAC and non-repudiation

they could do that they might as well skip the HMAC and say "he sent it, here's proof he sent it." … So answers 1 and 2 are not right; the shared secret is why HMAC can't effectively provide this. …
cpast's user avatar
  • 7,463