Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (19 sloc) 933 Bytes
draft toc comments categories tags title wip snippet
false
false
false
Random
ascii-hex
Printable ASCII-Hex
false
Reading ASCII-Hex, the lazy way!

Reading ASCII-Hex is easy. When you see a bunch of hex bytes, you can usually figure out if it's text or not by dropping them into a decoder. However, there are things you can memorize to save you a few seconds. Here's what I have learned:

  • Printable ASCII-Hex characters start from 0x20 (space) and end at 0x7F.
  • 0x3N is a number with N being the number. For example, 0x30 is 0 and 0x39 is 9.
  • Capital letters start from 0x41 (A) to 0x61 (Z).
  • Add 0x20 to a capital letter to get the small one. E.g. 0x41 (A) + 0x20 = 0x61 (a).

Here's an ASCII table that I have to Google all the time:

{{< imgcap title="ASCII-Hex from https://www.asciitable.com/index/asciifull.gif" src="https://www.asciitable.com/index/asciifull.gif" >}}

You can’t perform that action at this time.