- ASCII encoding is easy to spot. You're seeing it right now. It's generally limited to representing text that can be typed.
- Hex encoding will consist of digits 0-9 and A-F, sometimes lowercase a-f. Each hex digit represents 4 bits of the text, so the hex string will be twice as long as the message. This is a simplistic encoding used in low-level applications, or applications where the binary value of the message needs to be read or manipulated by humans. Also, it's sometimes preceded by 0x. It looks like 0x4d657373616765.
- Base64 encoding is used to represent binary data in ASCII form. It's more efficient than hex, encoding 6 bits per byte rather than 4 bits as with hex. It uses all 26 letters in both upper-case and lower-case form (that's 26 + 26 = 52 characters) and the digits 0 - 9, as well as + and / (for a total of 64 characters). Finally, the message is padded to a multiple of 3 bytes with the = character. Base64 looks like TWVzc2FnZQo=
- URL encoded strings encode characters that would have special meaning in URLs (?, &, #, etc) using a %xx format, where xx is the hex of the ASCII value. A common one you may see is %20 in URLs, representing a space.
- HTML entities are used to escape special characters in HTML code. It looks like &, followed by either an identifier specified in the HTML specs or a number, then a ; character. For example, > and < can be used to represent the < and > characters. Or you can use the ASCII values in decimal like < and > for < and >.
- MD5 hashes are usually represented in hex format and are 128 bits (32 hex characters) long. They look like 4c2a8fe7eaf24721cc7a9f0175115bd4.
- SHA1 hashes are 160 bits long (40 hex characters). They look like 68f4145fee7dde76afceb910165924ad14cf0d00
Posted 26 September 2009 - 01:33 PM
Posted 28 September 2009 - 11:06 AM
Posted 03 October 2009 - 10:49 AM
BinRev is hosted by the great people at Lunarpages!