{"id":20345205,"url":"https://github.com/plackemacher/secure_compare","last_synced_at":"2025-04-12T00:40:32.389Z","repository":{"id":57546475,"uuid":"56446397","full_name":"plackemacher/secure_compare","owner":"plackemacher","description":"A secure compare for Elixir.","archived":false,"fork":false,"pushed_at":"2019-01-23T20:03:13.000Z","size":10,"stargazers_count":18,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T20:21:40.370Z","etag":null,"topics":["elixir","library","package","security"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/secure_compare","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plackemacher.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":"2016-04-17T16:23:53.000Z","updated_at":"2023-09-01T08:53:35.000Z","dependencies_parsed_at":"2022-09-05T10:50:59.408Z","dependency_job_id":null,"html_url":"https://github.com/plackemacher/secure_compare","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plackemacher%2Fsecure_compare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plackemacher%2Fsecure_compare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plackemacher%2Fsecure_compare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plackemacher%2Fsecure_compare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plackemacher","download_url":"https://codeload.github.com/plackemacher/secure_compare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501960,"owners_count":21114681,"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","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":["elixir","library","package","security"],"created_at":"2024-11-14T22:07:15.906Z","updated_at":"2025-04-12T00:40:32.364Z","avatar_url":"https://github.com/plackemacher.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SecureCompare for Elixir\n\n[![hex.pm version](https://img.shields.io/hexpm/v/secure_compare.svg)](https://hex.pm/packages/secure_compare)\n[![Build Status](https://travis-ci.org/plackemacher/secure_compare.svg?branch=master)](https://travis-ci.org/plackemacher/secure_compare)\n\nA simple constant-time comparison algorithm for Elixir based on the `Devise.secure_compare` method found [here](https://github.com/plataformatec/devise/blob/69bee06ceee6280b54304928bb6e55c5064abad8/lib/devise.rb#L483).\n\n## Installation\n\nThe package can be installed by adding `secure_compare` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:secure_compare, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Usage\n\n```elixir\na = \"123\"\nb = \"456\"\n\nSecureCompare.compare(a, b) # =\u003e false\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplackemacher%2Fsecure_compare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplackemacher%2Fsecure_compare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplackemacher%2Fsecure_compare/lists"}