bin | hex | decimal |
0000 | 0 | 0 |
0001 | 1 | 1 |
0010 | 2 | 2 |
0011 | 3 | 3 |
0100 | 4 | 4 |
0101 | 5 | 5 |
0110 | 6 | 6 |
0111 | 7 | 7 |
1000 | 8 | 8 |
1001 | 9 | 9 |
1010 | a | 10 |
1011 | b | 11 |
1100 | c | 12 |
1101 | d | 13 |
1110 | e | 14 |
1111 | f | 15 |
Converting from binary to decimal:
Starting on the right multiply each binary digit by $2^n$ where n is the position of the bit starting with bit 0 on the right. for example: $1 \cdot 2^0 + 0 \cdot 2^1 + 1 \cdot 2^2 + 1 \cdot 2^3 = 13$
Converting from decimal to binary:
Repeatedly divide by 2, the remainder becomes the next bit building from right to left. For example to convert 13 to binary:
Link to ascii chart
When all of the letters of the message have been added then take the one's complement (flip all the bits)
TEST
Find a team of 3 people. Each of you will send a message (maybe 2 or 3 random words) to another member of your team using the third member as an intermediary as follows: