Utility function for converting bytes to hex.
Utility function for converting between hex and byte arrays.