{"id":21944047,"url":"https://github.com/rfrench/ectoken-go","last_synced_at":"2025-08-09T16:02:42.784Z","repository":{"id":57514445,"uuid":"130282776","full_name":"rfrench/ectoken-go","owner":"rfrench","description":"Token Generator for EdgeCast Token-Based Authentication","archived":false,"fork":false,"pushed_at":"2020-06-13T18:58:33.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-22T16:13:11.196Z","etag":null,"topics":["authentication","ectoken","edgecast","go","golang","token","vdms"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rfrench.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-19T23:23:46.000Z","updated_at":"2020-06-13T18:55:48.000Z","dependencies_parsed_at":"2022-09-26T18:00:33.240Z","dependency_job_id":null,"html_url":"https://github.com/rfrench/ectoken-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rfrench/ectoken-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fectoken-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fectoken-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fectoken-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fectoken-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rfrench","download_url":"https://codeload.github.com/rfrench/ectoken-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfrench%2Fectoken-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269598872,"owners_count":24444628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","ectoken","edgecast","go","golang","token","vdms"],"created_at":"2024-11-29T04:13:08.944Z","updated_at":"2025-08-09T16:02:42.651Z","avatar_url":"https://github.com/rfrench.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/rfrench/ectoken-go.svg?branch=master)](https://travis-ci.org/rfrench/ectoken-go)\n\n![Verizon Digital Media Services](https://images.verizondigitalmedia.com/2016/03/vdms-30.png)\n\n# Token Generator for Edgecast Token-Based Authentication\n\nToken-Based Authentication safeguards against hotlinking by adding a token requirement to requests for content secured by it. This token, which must be defined in the request URL's query string, defines the criteria that must be met before the requested content may be served via the CDN. This repository contains the following token generation resources:\n- [Linux binaries and Windows executable](https://github.com/VerizonDigital/ectoken/releases/latest)\n\n## Functions\n```go\nEncrypt(key string, params string, verbose bool)\nDecrypt(key string, token string, verbose bool)\n```\n## Install\nFirst use \"go get\" to install the latest version of the library.\n\n    $ go get github.com/VerizonDigital/ectoken-go\n\n## Example\n```go\nimport \"github.com/VerizonDigital/ectoken-go/v3\"\n\n// encrypt\ntoken, err := v3.Encrypt(\"keyvalue\", \"ec_expire=1257642471\u0026ec_clientip=11.22.33.1\", false)\nif err != nil {\n    log.Fatal(err)\n}\n\n// decrypt\nparams, err := v3.Decrypt(\"keyvalue\", token, false)\nif err != nil {\n    log.Fatal(err)\n}\n```\n\n## Contributing\nContributions are welcome! Please review our [contribution guidelines](CONTRIBUTING.md).\n\n## More Information\nPlease refer to the CDN Help Center, which is available from within the MCC, for more information (e.g., parameter names and usage).\n\n## License\n[View legal and licensing information.](LICENSE.txt)\n\n## Other Languages \u0026 Documentation\nYou can find implementations of EC Token in other languages and further documentation on the [EC Token Repo](https://github.com/hattan/ectoken).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfrench%2Fectoken-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frfrench%2Fectoken-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfrench%2Fectoken-go/lists"}