Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
The only problem is I can not find the key. Can someone give me an algorithm to find it, please?

What I have tried:

I've tried to guess it but couldn't.
Posted
Updated 5-Jul-17 3:07am

It's an exercise: the description contains all the information you need (including the algorithm) to decode the file.
Quote:
I've tried to guess it but couldn't.
You aren't supposed to guess: you are supposed to use a brute force attack approach to decrypt, which isn't hard or too time consuming given that the key you are looking for is three lower case characters - i.e. has only 26 * 26 * 26 possible combinations and the decryption result is text using only English words.

Give it a try, and see how far you can get...
 
Share this answer
 
Quote:
The only problem is I can not find the key
Blame yourself, because:
You lock the door
And throw away the key
There's someone in my head but it's not me.
 
Share this answer
 
Comments
Ravi Bhavnani 5-Jul-17 9:00am    
Clearly you're brain damaged, Carlo!

/ravi
CPallini 5-Jul-17 9:16am    
Part of me agrees with you. :-)
It's you job to come up with the algorithm, not beg for it.

All I'm going to tell you is that the resulting text is going to contain the word " the " and that you're going to need loops within loops to solve it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900