

To check off this lab, you’ll need to demonstrate to your TA that you can do the following in the hex editing space: You should see both a hex edit space and a character edit space, along with some numerical interpretations. In these, each character is mapped to a single byte between 0 and 127 bytes larger than 127 are often parts of multi-byte character encodings and vary by encoding variant.ĬR ( ritchie.txt and open it in your hex editor. Many files contain textual information, generally encoded using ASCII or a compatible superset of that such as UTF-8, ISO-8859-1, Windows-1252, Mac-Roman, etc. Use the “Open file” option on the top to load the file.2 Getting a hex editorīecause we are having setup issues with the department servers, we’ll use an online hex editor:Īlthough it is an online tool, you need to open files from your local drive your basic process is In this lab, you’ll explore some of what hex editors can do.

When interacting with such “binary files,” it is typical to use a tool known as a “hex editor.” This shows each byte (set of eight bits) as a two-digit hexadecimal value and allows users to edit that information in place. These are stored physically in something, so they have limited flexibility: you can change a bit to 0 or 1, but you can’t remove a bit entirely without moving every other bit over to fill in the gap. Whether punch cards, paper tape, magnetic tape, magnetic disk, optical disc, NAND-flash, or technologies yet unknown, large quantities of digital information have always been, and likely will always remain, giant streams of sequential bits.
