Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have already figured out that Alice and Bob are using Diffie - Hellman key exchange with 2 4 - bit keys. Before he was

You have already figured out that Alice and Bob are using Diffie-Hellman key exchange with 24-bit keys. Before he was captured yesterday, your teammate Mike obtained their public DH parameters:
G=2
P=08c94cb
alicePublic =0793ffe
bobPublic =077d960
The morning of the anticipated Zoo rendezvous, you encounter a new message at their dead-drop in Prospect Park. It contains only the characters btJ5- you remember it as "bravo tango JULIET five." What could it mean? You leave the message in place so they can continue to arrange the meet.
Alice and Bob may be aware of our Assignment 1 algorithms that use Base64 encodings. (I won't go after one of you for leaking it because, after all, Kerckhoff says it's the keys that should be secret, not the algorithm.) So we should be able to run decryptBytes64("btJ5", secret)- except that we don't know their secret. Fortunately, Alice and Bob chose a small key size. With 24 bits there are around 16 million possibilities, but a clever Python program should be able to grind through those within a few minutes. Maybe we can brute-force their respective secrets and use them to decode the message?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions