code: private boolean check(final String _plainPassword,
                            final int _pos)
      {
          boolean ret = false;
          if (this.props.containsKey(PasswordStore.DIGEST + _pos)) {
              final ConfigurablePasswordEncryptor passwordEncryptor = new ConfigurablePasswordEncryptor();
              this.digesterConfig.setAlgorithm(this.props.getProperty(PasswordStore.ALGORITHM + _pos));
              this.digesterConfig.setIterations(this.props.getProperty(PasswordStore.ITERATIONS + _pos));
              this.digesterConfig.setSaltSizeBytes(this.props.getProperty(PasswordStore.SALTSIZE + _pos));
              passwordEncryptor.setConfig(this.digesterConfig);
              ret = passwordEncryptor.checkPassword(_plainPassword, this.props.getProperty(PasswordStore.DIGEST + _pos));
          }
          return ret;
      }
docs: Check the given Plain Text Password for equal on the Hash by applying the
  algorithm salt etc.
  
  @param _plainPassword plain text password
  @param _pos position of the password to be checked
  @return true if equal, else false