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