code: @Deprecated
    public String generateSecuredApiKey(String privateApiKey, String tagFilters) throws NoSuchAlgorithmException, InvalidKeyException {
      if (!tagFilters.contains("="))
        return generateSecuredApiKey(privateApiKey, new Query().setTagFilters(tagFilters), null);
      else {
        return Base64.encodeBase64String(String.format("%s%s", hmac(privateApiKey, tagFilters), tagFilters).getBytes(Charset.forName("UTF8")));
      }
    }
docs: Generate a secured and public API Key from a list of tagFilters and an
  optional user token identifying the current user
  
  @param privateApiKey your private API Key
  @param tagFilters    the list of tags applied to the query (used as security)
  @deprecated Use `generateSecuredApiKey(String privateApiKey, Query query)` version