code: func NewCookieGenerator() (*CookieGenerator, error) {
  	cookieProtector, err := newCookieProtector()
  	if err != nil {
  		return nil, err
  	}
  	return &CookieGenerator{
  		cookieProtector: cookieProtector,
  	}, nil
  }
docs: // NewCookieGenerator initializes a new CookieGenerator