hex to base 64