decodeHex

Converts a byte array to a hex string.