code: func (p *UserPrivileges) GetEncodedPassword(user, host string) string {
  	mysqlPriv := p.Handle.Get()
  	record := mysqlPriv.connectionVerification(user, host)
  	if record == nil {
  		logutil.Logger(context.Background()).Error("get user privilege record fail",
  			zap.String("user", user), zap.String("host", host))
  		return ""
  	}
  	pwd := record.Password
  	if len(pwd) != 0 && len(pwd) != mysql.PWDHashLen+1 {
  		logutil.Logger(context.Background()).Error("user password from system DB not like sha1sum", zap.String("user", user))
  		return ""
  	}
  	return pwd
  }
docs: // GetEncodedPassword implements the Manager interface.