public static @NotNull Hash build(@NotNull String inputStr) {
    byte[] data = buildData(inputStr);
    assert data.length > 0 : "Can not build hash for string " + inputStr;
    return new HashImpl(data);
  }
public static @NotNull Hash build(@NotNull String inputStr)