{"id":15673843,"url":"https://github.com/lmammino/allwords","last_synced_at":"2025-10-10T06:34:59.673Z","repository":{"id":57484864,"uuid":"336787353","full_name":"lmammino/allwords","owner":"lmammino","description":"A Rust crate that allows you to generate words over a given alphabet.","archived":false,"fork":false,"pushed_at":"2021-11-18T14:58:10.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-17T18:43:38.792Z","etag":null,"topics":["alphabet","brute-force","bruteforce","fuzzy","generator","iterator","random","rust","words"],"latest_commit_sha":null,"homepage":"https://loige.co","language":"Rust","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/lmammino.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":"2021-02-07T12:59:12.000Z","updated_at":"2025-02-22T06:05:32.000Z","dependencies_parsed_at":"2022-08-26T11:10:54.788Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/allwords","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lmammino/allwords","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fallwords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fallwords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fallwords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fallwords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/allwords/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fallwords/sbom","scorecard":{"id":595966,"data":{"date":"2025-08-11","repo":{"name":"github.com/lmammino/allwords","commit":"0a8fcda8546d6b46d92a2bc06eceb91a8973999e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/Release.yml:1","Warn: no topLevel permission defined: .github/workflows/Rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/Release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/Rust.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/Rust.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/Rust.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/Rust.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/Rust.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/Rust.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/Rust.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/lmammino/allwords/Rust.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-20T23:09:31.682Z","repository_id":57484864,"created_at":"2025-08-20T23:09:31.682Z","updated_at":"2025-08-20T23:09:31.682Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002969,"owners_count":26083489,"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-10-10T02:00:06.843Z","response_time":62,"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":["alphabet","brute-force","bruteforce","fuzzy","generator","iterator","random","rust","words"],"created_at":"2024-10-03T15:42:29.996Z","updated_at":"2025-10-10T06:34:59.631Z","avatar_url":"https://github.com/lmammino.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# allwords 🦀\n\n[![build badge](https://github.com/lmammino/allwords/workflows/Rust/badge.svg)](https://github.com/lmammino/allwords/actions?query=workflow%3ARust)\n[![codecov](https://codecov.io/gh/lmammino/allwords/branch/main/graph/badge.svg?token=4CNbvgaDc1)](https://codecov.io/gh/lmammino/allwords)\n[![crates.io badge](https://img.shields.io/crates/v/allwords.svg)](https://crates.io/crates/allwords)\n[![Documentation](https://docs.rs/allwords/badge.svg)](https://docs.rs/allwords)\n\n`allwords` is a Rust crate that allows you to generate words over a given alphabet.\n\nWord generation can be useful in several scenarios:\n\n  - Pseudo-random data generation (e.g. testing / mocking)\n  - Brute forcing of keys / passwords\n  - Id or Serial number generation\n\n\n## Install\n\nTo install the library add the following lines to your `Cargo.toml`\n\n```toml\n[dependencies]\nallwords = \"0\"\n```\n\nOr, if you have [`cargo add`](https://github.com/killercup/cargo-edit), you can run the following command:\n\n```bash\ncargo add allwords@0\n```\n\n\n## Sample Usage\n\nThe basic idea for using this library is that you create an [`Alphabet`](https://docs.rs/allwords/latest/allwords/struct.Alphabet.html) with a set of\ncharacters and then you can use it to generate a [`WordsIterator`](https://docs.rs/allwords/latest/allwords/struct.WordsIterator.html). You can use the iterator\nto generate all the possible words over the alphabet.\n\nFor instance if you want to generate all the possible words containing `\"a\"`, `\"b\"`, `\"c\"` with\na maximum length of 3 chars:\n\n```rust\nuse allwords::{Alphabet};\n\nlet a = Alphabet::from_chars_in_str(\"abc\").unwrap();\n\nlet words: Vec\u003cString\u003e = a.all_words(Some(3)).collect();\n\nlet expected_words: Vec\u003cString\u003e = [\n    \"a\", \"b\", \"c\",\n    \"aa\", \"ab\", \"ac\", \"ba\", \"bb\", \"bc\", \"ca\", \"cb\", \"cc\",\n    \"aaa\", \"aab\", \"aac\", \"aba\", \"abb\", \"abc\", \"aca\", \"acb\", \"acc\",\n    \"baa\", \"bab\", \"bac\", \"bba\", \"bbb\", \"bbc\", \"bca\", \"bcb\", \"bcc\",\n    \"caa\", \"cab\", \"cac\", \"cba\", \"cbb\", \"cbc\", \"cca\", \"ccb\", \"ccc\"]\n    .iter()\n    .map(|s| s.to_string())\n    .collect();\n\nassert_eq!(words, expected_words);\n```\n\n### WordsIterator\n\nOnce you create an alphabet `a`, there are 4 different ways to get an iterator:\n\n  - [`a.all_words(max_len)`](https://docs.rs/allwords/latest/allwords/struct.Alphabet.html#method.all_words) - Creates an iterator that will generate all the words for a given alphabet. You can optionally specifify a maximum length, after which, the iterator will terminate.\n  - [`a.all_words_unbound()`](https://docs.rs/allwords/latest/allwords/struct.Alphabet.html#method.all_words_unbound) - A shortcut for creating an unbound (endless) iterator for the given alphabet.\n  - [`a.all_words_starting_from(start_word, max_len)`](https://docs.rs/allwords/latest/allwords/struct.Alphabet.html#method.all_words_starting_from) - Creates an iterator that will generate all the words for a given alphabet starting from a given word.\n  - [`a.all_words_with_len(start_len, max_len)`](https://docs.rs/allwords/latest/allwords/struct.Alphabet.html#method.all_words_with_len) - Creates an iterator that will generate all the words for a given alphabet starting from the first word with a given minimum length.\n\nConsult the [crate documentation](https://docs.rs/allwords/latest/) for more details and examples.\n\n\n## Contributing\n\nEveryone is very welcome to contribute to this project.\nYou can contribute just by submitting bugs or suggesting improvements by\n[opening an issue on GitHub](https://github.com/lmammino/allwords/issues).\n\n\n## License\n\nLicensed under [MIT License](LICENSE). © Luciano Mammino.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fallwords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Fallwords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fallwords/lists"}