Hexadecimal codec utility. Python translation of hexcoder.