Convert binary data into hexadecimal representation