@Test public void sha1TwoValueTest() { String value1 = "af91c6ca-da34-4e49-ace3-3b125dbeab3c"; String value2 = "f033adff-4dc4-4d20-9da0-4ed24cf59b61"; String expected = "74cf926f4871c8f98acf392b098e406ab82765b5"; String result = HashUtils.getSha1(value1, value2); Assert.assertEquals(expected, result); }
public static String getSha1(String... strings) { return getHash("SHA-1", strings); }
HashUtils { public static String getSha1(String... strings) { return getHash("SHA-1", strings); } }
HashUtils { public static String getSha1(String... strings) { return getHash("SHA-1", strings); }  }
HashUtils { public static String getSha1(String... strings) { return getHash("SHA-1", strings); }  static String getSha1(String... strings); }
HashUtils { public static String getSha1(String... strings) { return getHash("SHA-1", strings); }  static String getSha1(String... strings);  }