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 519

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

88 votes
Accepted

What is the difference between MAC and HMAC?

HMAC is a recipe for turning hash functions (such as MD5 or SHA256) into MACs. So HMAC-MD5 and HMAC-SHA256 are specific MAC algorithms, just like QuickSort is a specific sorting algorithm. … Others, such as HMAC, do not. MAC algorithms should have the security property of being unforgeable under chosen-message attacks. …
Seth's user avatar
  • 4,418
2 votes

Game traffic encryption AES CTR + HMAC

HMAC-MD5 hasn't been broken, but using it is generally not recommended since MD5 has been broken. … = HMAC-SHA1(master_key, "Authentication key") A couple suggestions. …
Seth's user avatar
  • 4,418