Defying Hell
100 points Hard

Alice has been sharing secret encrypted messages with Bob. I would really like to know what those are...

I contacted my good friend Eve, a well-known eavesdropper. She sent me the numbers she found at the beginning of their conversation. By the look of things, this looks like a key exchange. If we would find the key, we would be able to decode every message they encrypted with it!

Help me find both private keys. To submit the flag, decode them correctly and wrap them into CTFlearn{<Alice>_<Bob>} format.

Hint: the title of this challenge is a pun... I can't tell you more ;)

data.txt
Flag
Rating 4.51
5
4
3
2
1

Discussion

Piss easy should be medium AT MOST

0
Protected
0

I have got private keys. But I don't know why they are not a flag. Can somebody help me, please? Write me in discord redlineo#0307

0

It's okay. Ascii helped.

0

Discrete, but efficient ^^ Had never pt my nose into this one ("specialised" in RSA). Thanks

0
Protected
0

Found this extremely difficult at first. Solved after hours researching and mastering new math techniques. Only had to build one small custom tool. Thanks for wicked challenge.

0

"decode them correctly" is very vague, and meant I had to guess how to get the flag after solving the maths.

0
Protected
0
Protected
0
Protected
0

This is a way of doing it, but I don't think it's the more efficient one since you'll probably need to try more than 500k values (I haven't tested it though). To help you further with that method, I would like to know which language this snippet is, please. To me, it looks like Python, and if it indeed is, then your one-liner has an invalid syntax... Btw, sorry for the late answer, I was taking a break of computers. :)

0

it is python , what is the most effiecent way just give me hint , I would like to learn that

0

Your oneliner seems invalid to me, you might want to fix that... For the most efficient way to do it, it's not bruteforce, that I can tell you for sure. If you know what technique this challenge is about, then the Wikipedia page for it contains a section you might want to check. ;) That's all I can tell you without spoiling the challenge. If you still have difficulties, hmu on Twitter @noxtal_, I'll be glad to help :)

0