{"id":20435334,"url":"https://github.com/checksumdev/uniqueid","last_synced_at":"2025-04-12T21:34:30.399Z","repository":{"id":38328116,"uuid":"490085455","full_name":"ChecksumDev/uniqueid","owner":"ChecksumDev","description":"Generates a unique hash/identifier for a system given a set of parameters.","archived":false,"fork":false,"pushed_at":"2023-02-20T23:06:24.000Z","size":59,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-31T12:08:43.773Z","etag":null,"topics":["authentication","crypto","cryptography","data-structures","generator","hardware","hwid","library","os","rust","rust-crate","rust-lang","rust-library","utility"],"latest_commit_sha":null,"homepage":"https://docs.rs/uniqueid","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChecksumDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-05-09T00:17:35.000Z","updated_at":"2024-08-07T19:43:01.000Z","dependencies_parsed_at":"2023-01-25T23:45:12.331Z","dependency_job_id":null,"html_url":"https://github.com/ChecksumDev/uniqueid","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChecksumDev%2Funiqueid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChecksumDev%2Funiqueid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChecksumDev%2Funiqueid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChecksumDev%2Funiqueid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChecksumDev","download_url":"https://codeload.github.com/ChecksumDev/uniqueid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224753715,"owners_count":17364302,"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":["authentication","crypto","cryptography","data-structures","generator","hardware","hwid","library","os","rust","rust-crate","rust-lang","rust-library","utility"],"created_at":"2024-11-15T08:33:23.292Z","updated_at":"2024-11-15T08:33:24.136Z","avatar_url":"https://github.com/ChecksumDev.png","language":"Rust","readme":"# uniqueid 🔍\n\n Generates a unique hash/identifier for a system given a set of parameters.\n\n## Example usage\n\n ```rust\n    use uniqueid::{IdentifierBuilder, IdentifierType};\n\n    let mut builder = IdentifierBuilder::default();\n    \n    builder.name(\"test\");\n    builder.add(IdentifierType::CPU);\n    builder.add(IdentifierType::RAM);\n    builder.add(IdentifierType::DISK);\n\n    let identifier = builder.build();\n\n    println!(\"{}\", identifier.to_string(false)); // false = do not hash the identifier (useful for debugging)\n```\n\n___\n\n## Specification\n\n```text\nUniqueID uses its own specification.\n\nThe spec consists of three parts:\n    - The Identifier; []\n    - The IdentifierType; ()\n    - The IdentifierTypeData; (a=b, ...)\n      \nA basic identifier would look like this: \n\nNAME[TYPE(a=b, ...), ...]\n\nNAME - Optional name of the identifier. (Can be used as a label or salt)\nTYPE - The type of identifier, e.g. CPU, GPU, etc.\nDATA - The data for the identifier, e.g. Vendor=Intel, Model=Xeon E5-2670\n\nThis is a very basic example of an identifier, and most use cases will have more types, more data, and hash the output.\n```\n\n## Roadmap\n\n- [X] Calculate the HWID **based on the system's hardware** in the library without needing to specify it manually.\n- [ ] Add support for other identifier types. (currently only supports CPU, RAM, and DISK) - **PR's welcome**!\n- [ ] Add disk serial checking.\n- [ ] Add support for other hashing algorithms. (currently only supports SHA3-512)\n\n## License\n\nThis software is licensed under the GNU General Public License v3.0\n\nFor more information, see the [LICENSE](LICENSE) file in the root directory of this project or [see here](https://www.gnu.org/licenses/gpl-3.0.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchecksumdev%2Funiqueid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchecksumdev%2Funiqueid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchecksumdev%2Funiqueid/lists"}