code: func HashStr(toHash string) string {
  	h := sha1.New()
  	io.WriteString(h, toHash)
  	hashed := base64.StdEncoding.EncodeToString(h.Sum(nil))
  	return hashed
  }
docs: // HashStr returns the base64 encoded SHA1 sum of the toHash string