Peter Bubestinger-Steindl
(peter @ ArkThis.com)
November 2022
Ideas…?
“Hex” is short for “Hexadecimal” (which literally means “16”), and is a
base-16 numeral system.
btw: To avoid confusion, hex numbers are usually prefixed with
“0x”:
0xFF, 0x10, 0x12345, etc.
| Dec | Hex | ||
|---|---|---|---|
| 0 | 0 | ||
| 1 | 1 | ||
| 2 | 2 | ||
| … | … | ||
| 8 | 8 | ||
| 9 | 9 | ||
| Base = | 10 | A | |
| 11 | B | ||
| 12 | C | ||
| 13 | D | ||
| 14 | E | ||
| 15 | F | ||
| 16 | 10 | = Base (16) | |
| … | … | ||
| 255 | FF |
Why is hexadecimal (base-16) better than decimal (base-10) for digital data?
From “00” to “FF” = 0..255
= The value range of 1 byte.
Each hex digit represents 4 bits.
1 Byte = 8 Bit = 256 numbers [0..255]
4 Bit = 16 numbers [0..15]
[0..15] (dec) = [0..F] (hex)
|
|
Identify the file types in the given set, using a Hexeditor and the
“Magic Byte” list on Wikipedia
The file “whatami”:

“Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email messages to support text in character sets other than ASCII, as well attachments of audio, video, images, and application programs.” – Wikipedia: Media Type
“header refers to supplemental data placed at the beginning of a block of data being stored or transmitted. In data transmission, the data following the header is sometimes called the payload or body.” – Wikipedia: Header (computing)
Comments?
Questions?