How to convert a byte array to a hex string in Java? How to convert a byte array to a hex string in Java? java java