Home Quick Hex Conversion
Post
Cancel

Quick Hex Conversion

Usually if I don’t feel like converting a hexadecimal number by hand, I fire up some online calculator. But I learned this while watching Packet Tuesdays with Dr. Johannes Ullrich.

Fire up the python REPL:

1
2
int('1000', base=16)
4096

Its the simple things that get you! And I code for living! :) Thanks Dr. Johannes Ullrich

This post is licensed under CC BY 4.0 by the author.