HexStr: don't build a vector<char> first
Also const correctness for lookup tables in hex functions throughout the code.