@Test public void sha1Test() { String value = "af91c6ca-da34-4e49-ace3-3b125dbeab3c"; String expected = "3521a4e173f1c42a18d431d128720dc60e430a73"; String result = HashUtils.getSha1(value); 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);  }