@Test public void sha256() { assertEquals("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", HashUtils.sha256("")); assertEquals("7efd873c874fbf92d6c3eccc2f24f7eaa349d9d7b512d81ff3f1b44e896362fb", HashUtils.sha256("This hash function rocks!")); }
@NonNull public static String sha256(@NonNull String data) { return sha256(data, "UTF-8"); }
HashUtils { @NonNull public static String sha256(@NonNull String data) { return sha256(data, "UTF-8"); } }
HashUtils { @NonNull public static String sha256(@NonNull String data) { return sha256(data, "UTF-8"); } @VisibleForTesting  HashUtils(); }
HashUtils { @NonNull public static String sha256(@NonNull String data) { return sha256(data, "UTF-8"); } @VisibleForTesting  HashUtils(); @NonNull static String sha256(@NonNull String data); }
HashUtils { @NonNull public static String sha256(@NonNull String data) { return sha256(data, "UTF-8"); } @VisibleForTesting  HashUtils(); @NonNull static String sha256(@NonNull String data);  }