code: func (hp HashedPasswords) SetPassword(name, password string, hashAlgorithm HashAlgorithm) (err error) {
  	if len(password) == 0 {
  		return errors.New("passwords must not be empty, if you want to delete a user call RemoveUser")
  	}
  	hash := ""
  	prefix := ""
  	switch hashAlgorithm {
  	case HashBCrypt:
  		hash, err = hashBcrypt(password)
  	case HashSHA:
  		prefix = "{SHA}"
  		hash = hashSha(password)
  	}
  	if err != nil {
  		return err
  	}
  	hp[name] = prefix + hash
  	return nil
  }
docs: // SetPassword set a password for a user with a hashing algo