code: public static String toHexString(final byte[] data, final boolean lowerCase)
  	{
  		final StringBuilder sb = new StringBuilder();
  		sb.append(HexExtensions.encodeHex(data, lowerCase));
  		return sb.toString();
  	}
docs: Transform the given {@code byte array} to a hexadecimal {@link String} value.
  
  @param data
  the byte array
  @param lowerCase
  the flag if the result shell be transform in lower case. If true the result is
  lowercase otherwise uppercase.
  @return the new hexadecimal {@link String} value.