private static String simpleHash(String password) {
    Sha256Hash sha256Hash = new Sha256Hash(password);
    String result = sha256Hash.toHex();

    System.out.println("Simple hash: " + result);
    return result;
  }
  private static String simpleSaltedHash(String username, String password) {
    Sha256Hash sha256Hash =
        new Sha256Hash(
            password, (new SimpleByteSource("random_salt_value_" + username)).getBytes());
    String result = sha256Hash.toHex();

    System.out.println(username + " simple salted hash: " + result);
    return result;
  }