{"id":27934827,"url":"https://github.com/uri/brute","last_synced_at":"2025-10-30T03:41:05.141Z","repository":{"id":57481033,"uuid":"80374885","full_name":"uri/brute","owner":"uri","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-10T03:34:40.000Z","size":4,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-13T03:58:00.450Z","etag":null,"topics":["brute","brute-force","crypto","data"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-29T21:46:33.000Z","updated_at":"2024-12-25T11:15:42.000Z","dependencies_parsed_at":"2022-09-26T17:41:27.699Z","dependency_job_id":null,"html_url":"https://github.com/uri/brute","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/uri/brute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fbrute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fbrute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fbrute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fbrute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uri","download_url":"https://codeload.github.com/uri/brute/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fbrute/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273307212,"owners_count":25082328,"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-02T02:00:09.530Z","response_time":77,"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":["brute","brute-force","crypto","data"],"created_at":"2025-05-07T06:08:32.561Z","updated_at":"2025-10-30T03:41:00.102Z","avatar_url":"https://github.com/uri.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brute\n\n#### [Documentation](https://hexdocs.pm/brute)\n\nBrute is a package that generates\n[combinations](https://en.wikipedia.org/wiki/Combination) of various\ncharacters.\n\nFor example, Brute can generate the combinations for the set `{a b c}`:\n\n```elixir\nBrute.generic(?a..?c, 1..3)\n```\n\nWill generate something similar to the following: a, b , c, ..., z, aa, ab,\n..., zy, zz, ... aaa, aab, ..., zzy, zzz.\n\n**There is no order guarantee within set-length**.\n\n\nSince most functions in `Brute` return a stream, they can combined with other\noperations. For example, calculating a hash:\n\n```elixir\n'abcdefghijkpqrstuvwxyzABCDEFGHIJKPQRSTUVWXYZ0123456789`~!@#$%^\u0026*()_+{}:\u003c\u003e?\"\\'`'\n|\u003e Brute.generic(1..20)\n|\u003e Stream.map(fn str -\u003e\n  :crypto.hash(:sha, str) |\u003e Base.encode16\nend)\n```\n\n## Installation\n\n```elixir\ndef deps do\n  [{:brute, \"~\u003e 0.1.0\"}]\nend\n```\n\nIf you are using Elixir 1.3 or lower you will also need to add `brute` to your applications.\n\n```elixir\ndef application do\n  [ ... applications: [ ..., :brute ] ]\nend\n```\n\n## TODO\n\n- [ ] Benchmarks\n- [ ] Caching combinations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furi%2Fbrute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furi%2Fbrute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furi%2Fbrute/lists"}