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:
001100101100101001110010001000101110001000110010010000100110001010100010101100100010001010000010
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)