code: public static String encrypt(String password, String salt) {
          String saltPassword = password + salt;
          return DigestUtils.sha256Hex(saltPassword.getBytes());
      }
docs: Encrypt a password string with a given password.
  
  @param password The origin password need to be encrypt.
  @param salt     The salt.
  @return The encrypted password.