ensure UTF-8 charset is used for all byte-string conversions
implement more of the binary hash commands