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 not deleted user 25928

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

1 vote
1 answer
662 views

How to key an HMAC with keys from separate mutually untrusted parties?

The problem is as follows: There are two parties, both of whom would like to HMAC a message with a key. … The ideas I have are HMAC(message, key1 || key2) HMAC(HMAC(message, key1), key2) HMAC(message, HMAC(key1, key2)) However, this is starting to feel like one of those problems where there is some subtle …
Samuel Horwitz's user avatar
1 vote
0 answers
50 views

HMAC for provable server distributed randomness

For example: Using an HMAC where the HMAC key is a server secret and the HMAC message is not a reliable secret at all (a username, for instance). …
Samuel Horwitz's user avatar