MDC
Posts: 167
Joined: Thu Jul 28, 2011 6:27 pm

Re: Binary

Fri Dec 02, 2011 8:25 pm

Hi
sorry if this sounds completely stupid but I found some binary code on an A4 sheet of paper at work and wondered how or if I could figure out what it does. Is there a programme I can put binary into and see what happens or do I need to run it against something?

I have no idea what it does or who left it, but it looks like it does something.

User avatar
johnbeetem
Posts: 945
Joined: Mon Oct 17, 2011 11:18 pm
Location: The Mountains
Contact: Website

Re: Binary

Fri Dec 02, 2011 8:44 pm

As I used to lecture to students, a binary number by itself can mean anything. It may be an unsigned integer, a 2's complement integer, a fixed-point number, a floating-point number, ASCII characters, EBCDIC characters, bit-mapped graphics, machine language for who-knows-which computer, or anything else. Binary numbers are meaningless until you decide how to interpret them.

Some formats are readily identifiable as ASCII or a particular machine language. For example, ASCII in 8-bit bytes is pretty obvious since most values are 0x20 - 0x7E (space through ~), with occasional 0x0A (LF). ARM assembly language will have 32-bit values most of which start with 0xE (unconditional execution).

User avatar
scep
Posts: 1062
Joined: Sun Nov 20, 2011 8:53 am

Re: Binary

Fri Dec 02, 2011 8:47 pm

I would LOVE to find a sheet of A4 with binary on it . It's a puzzle. Enjoy it :D

MDC
Posts: 167
Joined: Thu Jul 28, 2011 6:27 pm

Re: Binary

Fri Dec 02, 2011 9:22 pm

They seem to come in pairs of binary code and range from 0001 to 1111.

User avatar
johnbeetem
Posts: 945
Joined: Mon Oct 17, 2011 11:18 pm
Location: The Mountains
Contact: Website

Re: Binary

Fri Dec 02, 2011 9:43 pm

A contest! Give us the first N of them and give prizes to whomever calculates N+1 first :-)

For a good read, I recommend Jules Verne's The Cryptogram, where a man's life depends on decrypting a letter.

AdRiley
Posts: 17
Joined: Wed Oct 26, 2011 9:27 pm

Re: Binary

Fri Dec 02, 2011 9:54 pm

There are 10 types of people in the world: Those who understand binary, and those who don't... ;-)
www.raspberrypiblog.com

gimliflea
Posts: 76
Joined: Fri Nov 18, 2011 4:14 pm

Re: Binary

Sat Dec 03, 2011 11:34 am

@adriley
nice one.

User avatar
Burngate
Posts: 6401
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Binary

Sat Dec 03, 2011 11:49 am

I'm guessing - 20 rows of 8 pairs, starts eb 04 af c2 bf a3 81 ec?
That'll be GCHQ

MDC
Posts: 167
Joined: Thu Jul 28, 2011 6:27 pm

Re: Binary

Sat Dec 03, 2011 11:56 am

I'm guessing - 20 rows of 8 pairs, starts eb 04 af c2 bf a3 81 ec?
That'll be GCHQ

No, just a load of 1's and 0's. and there aren't that many as you say.

sh4d0w0lf
Posts: 20
Joined: Thu Jul 28, 2011 9:40 am

Re: Binary

Sat Dec 03, 2011 12:03 pm

Here's one for you all.. The networking guru's should work this out easily...
Can you convert binary octets into decimal? This should give you an ip address that I just randomly made up

01110111
01010001
11110111
00011000

There is no prize for this.

tech guru
Posts: 35
Joined: Mon Nov 21, 2011 11:47 pm

Re: Binary

Sat Dec 03, 2011 1:18 pm

Quote from AdRiley on December 2, 2011, 21:54
There are 10 types of people in the world: Those who understand binary, and those who don't... ;-)

01010100011010000110010101110010011001010010000001100001011100100110010100

100000001100010011000000100000011101000111100101110000011001010111001100100

0000110111101100110001000000111000001100101011011110111000001101100011001010

010000001101001011011100010000001110100011010000110010100100000011101110110

1111011100100110110001100100001110100010000001010100011010000110111101110011

0110010100100000011101110110100001101111001000000111010101101110011001000

1100101011100100111001101110100011000010110111001100100001000000110001001

1010010110111001100001011100100111100100101100001000000110000101101110011

0010000100000011101000110100001101111011100110110010100100000011101110110

100001101111001000000110010001101111011011100010011101110100

:D

sh4d0w0lf
Posts: 20
Joined: Thu Jul 28, 2011 9:40 am

Re: Binary

Sat Dec 03, 2011 1:20 pm

and you've got me on that one :/ any hints?

tech guru
Posts: 35
Joined: Mon Nov 21, 2011 11:47 pm

Re: Binary

Sat Dec 03, 2011 1:36 pm

Quote from sh4d0w0lf on December 3, 2011, 12:03
Here's one for you all.. The networking guru's should work this out easily...
Can you convert binary octets into decimal? This should give you an ip address that I just randomly made up

01110111
01010001
11110111
00011000

There is no prize for this.

01110111 =77
01010001 = 51
11110111 =f 7
00011000 = 18

tech guru
Posts: 35
Joined: Mon Nov 21, 2011 11:47 pm

Re: Binary

Sat Dec 03, 2011 1:39 pm

Quote from sh4d0w0lf on December 3, 2011, 13:20
and you've got me on that one :/ any hints?

its the quote converted to ascii binary...i had to put spaces in between because it posted as 1 long string , way off the page :D

sh4d0w0lf
Posts: 20
Joined: Thu Jul 28, 2011 9:40 am

Re: Binary

Sat Dec 03, 2011 5:20 pm

wrong answer. Its supposed to be a computer ip address.

the correct awnser is:
119.81.247.24

The working out:

128 64 32 16 8 4 2 1
----------------------------------------------------------
0 1 1 1 0 1 1 1
0 1 0 1 0 0 0 1
1 1 1 1 0 1 1 1
0 0 0 1 1 0 0 0

jgraley
Posts: 5
Joined: Mon Nov 28, 2011 5:59 pm

Re: Binary

Sat Dec 03, 2011 6:49 pm


tech guru
Posts: 35
Joined: Mon Nov 21, 2011 11:47 pm

Re: Binary

Sat Dec 03, 2011 9:10 pm

Quote from sh4d0w0lf on December 3, 2011, 17:20
wrong answer. Its supposed to be a computer ip address.

the correct awnser is:
119.81.247.24

The working out:

128 64 32 16 8 4 2 1
----------------------------------------------------------
0 1 1 1 0 1 1 1
0 1 0 1 0 0 0 1
1 1 1 1 0 1 1 1
0 0 0 1 1 0 0 0

LOL ... sorry i decoded it wrong ;)

IP dotted quad
119.81.247.24
IP decimal
2001860376
IP hex
7751f718
IP Binary
1110111010100011111011100011000
country,
China
IP address latitude: 29.5836
IP address longitude: 106.7525
ISP of this IP [?]: LocalArea Communication of LangFang LTD. CO.

Return to “Off topic discussion”