{"id":30883269,"url":"https://github.com/globocom/ectoken-ruby","last_synced_at":"2025-09-08T09:44:04.330Z","repository":{"id":56897341,"uuid":"282882206","full_name":"globocom/ectoken-ruby","owner":"globocom","description":"Encryptor/decryptor for Verizon's ectoken - ruby version","archived":false,"fork":false,"pushed_at":"2020-10-22T16:07:41.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-21T07:29:33.186Z","etag":null,"topics":["ruby","verizon"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/globocom.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":"2020-07-27T11:48:26.000Z","updated_at":"2021-09-08T19:29:36.000Z","dependencies_parsed_at":"2022-08-20T17:40:36.171Z","dependency_job_id":null,"html_url":"https://github.com/globocom/ectoken-ruby","commit_stats":null,"previous_names":["mauricioabreu/ectoken-ruby"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/globocom/ectoken-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fectoken-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fectoken-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fectoken-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fectoken-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globocom","download_url":"https://codeload.github.com/globocom/ectoken-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fectoken-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274166942,"owners_count":25233959,"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-09-08T02:00:09.813Z","response_time":121,"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":["ruby","verizon"],"created_at":"2025-09-08T09:44:01.859Z","updated_at":"2025-09-08T09:44:04.323Z","avatar_url":"https://github.com/globocom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verizon Edge Cast Token\n\nEncryptor/decryptor for Verizon's ectoken\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```\ngem 'verizon_token'\n```\n\nAnd then execute:\n\n```\n$ bundle\n```\n\nOr install it yourself using:\n\n```\n$ gem install verizon_token\n```\n\n## Usage\n\nThis program can encrypt and decrypt Verizon Edge Cast token:\n\n```ruby\nrequire \"ectoken\"\n\nkey = \"0c8e886bc361f6f2fd3f29facc6eddgl48e2c6f19e49c85ac738c69a25f70581\"\n\ntoken = EdgeCastToken::Token.encrypt(key, \"ec_expire=1596103200\u0026ec_url_allow=/images/\")\nputs token\n\ndecrypted = EdgeCastToken::Token.decrypt(key, decrypted)\nputs decrypted\n```\n\nYou can also use the command line tool:\n\n### Encrypt\n\n```\nectoken -k \u003ckey\u003e -t \u003cparameters\u003e\n```\n\nRead the docs for available parameters.\n\n### Decrypt\n\n```\nectoken -k \u003ckey\u003e -t \u003cencrypted token\u003e -d\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/globocom/ectoken-ruby\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fectoken-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobocom%2Fectoken-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fectoken-ruby/lists"}