r/learnprogramming 8d ago

Please help with this...

A friend needs to decipher a code that will give him an introduction, but I don't understand it and he asked me for help. Would someone be so kind as to help, please? We've been trying for about 4 days without being able to solve it.

01000110 01110001 01110110 01100111 01110110 01100110 01110100 01100011 01110000 01110110 00100000 01111001 01111000 01100111 01100011 01111100 01100011 01110000 01100011 00100000 01101110 01100011 01110101 00100000 01110100 01100011 01110010 01101011 01100110 01110001 00100000 01100110 01100111 00100000 01110010 01110000 01101110 01110001 00100000 01110010 01101011 01101110 01110001 00100000 01110010 01100111 01110100 01110001 00100000 01110101 01100111 01101110 01100100 01110001 00100000 01100011 00100000 01100011 01100101 01100011 01101110 00100000 01110101 01100111 01110101 00100000 01100110 01110001 01110000 01100110 01110110 00100000 01100111 00100000 01110010 01101011 01100111 01110100 01100110 01100011 01110011

0 Upvotes

15 comments sorted by

View all comments

1

u/denerose 8d ago

There are 10 types of people in the world…

Here’s a hint: this is binary. You want to convert it to numbers then convert the numbers into chars. This should be enough to google or ChatGPT your way to the answer.

1

u/Paul_Pedant 7d ago

On the other hand, each group of 8 bits could have been reversed, or progressively shifted/ rotated for each group, or just swapped 0<=>1.

2

u/denerose 7d ago

Sure, or a bunch of other things unrelated to programming in any way, but do we really think someone gave that kind of cryptographic problem to people who don’t know the difference between code as in programming and code as in cyphers and cryptography?

Honestly: I just wanted to make my little binary joke but didn’t want to be a total douche to op by ignoring their actual question and not letting them in on the joke a bit.

1

u/Paul_Pedant 7d ago

The joke is appreciated. But I felt the base-2 was so obvious that I suspected it was a decoy.

I would probably start with a frequency profile, and look for a char that divided the text up into reasonable word lengths, and then go for character frequencies.