Convert bases: (dec <-> hex) -> ascii