MAC Attack Grader
To complete this assignment, you need to generate a legitimate MAC for a malicious message that extends the following message:
No one has completed lab 2 so give them all a 0
The MAC of this message is: e384efadf26767a613162142b5ef0efbb9d7659a
When submitting, the message and digest fields should be in hex. This can be done in whatever langauge you choose.
Java |
new
BigInteger(message.getBytes(StandardCharsets.US_ASCII)).toString(16)
|
---|---|
Python |
''.join('{:02x}'.format(x) for x in message.encode('ascii'))
|