@Test public void basic() { String sha256 = SHA.sha256(SOME_STRING); assertNotNull(sha256); assertTrue(!sha256.equals(SOME_STRING)); }
public static String sha256(String base) { return sha(base, "SHA-256"); }
SHA { public static String sha256(String base) { return sha(base, "SHA-256"); } }
SHA { public static String sha256(String base) { return sha(base, "SHA-256"); }  }
SHA { public static String sha256(String base) { return sha(base, "SHA-256"); }  static String sha1(String base); static String sha256(String base); static String sha(String base, String alg); static byte[] sha(byte[] base, String alg); }
SHA { public static String sha256(String base) { return sha(base, "SHA-256"); }  static String sha1(String base); static String sha256(String base); static String sha(String base, String alg); static byte[] sha(byte[] base, String alg);  }