How to Decipher ASCII Binary Messages
Have you ever come across a message that looks like this?
01000101 01100001 01110011 01110100 01100101 01110010 00100000 01000101 01100111 01100111 00100000 01001000 01100101 01110010 01100101
Sometimes they might be missing the spaces to obfuscate the fact that each grouping of ones and zeroes represent something distinct, but either way, this is a string of “binary” digits. Binary can be used to encode “secret” messages. However, it’s not a particularly secure method. So while there is no shortage of free online binary translators, let us keep riding this train of completely useless skills and learn how to decode binary messages by hand.
What is Binary?
Binary, also known as Base-2, is a numeric system that uses two symbols (0 and 1) per digit to represent numbers, as opposed to decimal (Base-10), our normal counting system, which uses ten symbols (0-9). For example, 1 in binary is equal to 1 in decimal, but 10 in binary is 2 in decimal. In decimal, each digit to the left increases the magnitude of the digit by a power of 10. Then you add the value of each digit multiplied by its magnitude to get the final number. In other words 7,043 is equal to or or . Binary works the same way, but in powers of 2. Starting from the right side, the first digit represents 1, the second 2, then 4, and 8, and so on. So the binary expression 110 is the same as , , or , which equals 6 in decimal.
In decimal, if I add a zero to the beginning of a number, such as 07,043, the value of the number doesn’t change. Technically, the left zero here represents , but anything multiplied by 0
equals 0
. No matter how many zeroes are added to the left of a decimal number, its value remains the same. The same rule applies to binary, where leading zeros do not affect the value of an expression. This is more relevant because binary is often represented in terms of bytes. While there are specific reasons for this as far as how bytes are used in computing, for our purposes we can just think of a byte as a binary number with a set amount of digits. Most commonly, there are eight “bits” or digits in a byte, but a binary expression that looks like 00000110
is exactly the same as the 110
from earlier.
Binary
Decimal
What is ASCII?
ASCII is a character code that computers use to represent characters like numbers, letters, and symbols. For example, the value of 48 translates to the literal character “0” for the number zero. In ASCII, capital letters are represented by the numbers 65-90, while lowercase letters are 97-122. You can think of the letters as being represented by the numbers 1-26, and then add 64 for its uppercase ASCII value, and 96 for its lowercase.
Show ASCII Chart
Code | Character |
---|---|
0 |