Lecture 4: Message Authentication Codes (I)
Recall hash functions
don’t need to
trust this channel
accept
0: reject
1: accept
0: reject
1: accept
0: reject
1: accept
MAC security
MAC security definition: first attempt
MAC security definition: first attempt
Oracles
MAC security definition
Example of an Insecure MAC Scheme
Exclusive or (XOR)
| | |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Properties of XOR
Insecure MAC scheme