### Question:
App { public static String sha256hex(String input) { return DigestUtils.sha256Hex(input); }  static void main(String[] args); static String sha256hex(String input);  }### Answer:
@Test public void testLength() { Assert.assertEquals(64, App.sha256hex(INPUT).length()); }
@Test public void testHex() { String expected = "8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92"; Assert.assertEquals(expected, App.sha256hex(INPUT)); }