### Question:
Util { public static String bytetohex(byte[] bytearray) { StringBuilder sb = new StringBuilder(bytearray.length * 2); for (byte currentByte : bytearray) { sb.append(Character.forDigit((currentByte >> HEX_NUMBER_OF_BITS) & HEX_DIGIT_MASK, HEX_RADIX)); sb.append(Character.forDigit(currentByte & HEX_DIGIT_MASK, HEX_RADIX)); } return sb.toString(); } private  Util(); static byte[] hextobyte(String keyText); static String bytetohex(byte[] bytearray);  }### Answer:
@Test void testByteToHex() { assertEquals("01ae22", bytetohex(new byte[] {1, -82, 34})); }