CGX: Binary Encoding BE
Hello future Hackers,
We hope you know binary now. But do you really?
Your task is easy Just convert a stream of zeroes and ones to ASCII, but it is big endian now.
Greetings
- gizmore and x
Problem CGX#16
This lesson has an interactive problem:
010010101010001001110010110010101000001000001010001000101111001001000010000100100111001011100010
The problem is randomly generated and is bound to your session.
Good Luck!
The WeChall Team
# CGX#16: Big Endian
Everything is binary; just 0 and 1.
But, it is a matter of taste if the
[ISA](https://en.wikipedia.org/wiki/Instruction_set_architecture)
on your CPU has an
[endianness](https://en.wikipedia.org/wiki/Endianness)
of
LE(LittleEndian)
or
BE(BigEndian).
----
Imagine a nibble (4 bits) in LE and BE.
8421 (LE values of bits)
0001 == 1 (LittleEndian)
1248 (BE values of bits)
0001 = 8 (BigEndian)