Delete comment from: Javarevisited
Wouter Coekaerts said...
This also works, is short, and does not require an external library:
new BigInteger(bytes).toString(16)
Apr 2, 2013, 3:11:37 AM
Posted to How to Convert and Print Byte array to Hex String in Java? Example