{"id":24834690,"url":"https://github.com/jerryshell/chepaihash","last_synced_at":"2025-03-26T03:22:23.675Z","repository":{"id":268279576,"uuid":"903765307","full_name":"jerryshell/chepaihash","owner":"jerryshell","description":"ChepaiHash 是一个将数据转换为中国车牌号的哈希工具","archived":false,"fork":false,"pushed_at":"2024-12-17T13:10:28.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T03:33:50.850Z","etag":null,"topics":["chepai","cli","hash","no-std","rust"],"latest_commit_sha":null,"homepage":"","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/jerryshell.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-15T14:06:21.000Z","updated_at":"2024-12-17T13:10:33.000Z","dependencies_parsed_at":"2024-12-15T19:30:08.397Z","dependency_job_id":null,"html_url":"https://github.com/jerryshell/chepaihash","commit_stats":null,"previous_names":["jerryshell/chepaihash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fchepaihash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fchepaihash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fchepaihash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fchepaihash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/chepaihash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245580653,"owners_count":20638848,"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":["chepai","cli","hash","no-std","rust"],"created_at":"2025-01-31T03:34:50.690Z","updated_at":"2025-03-26T03:22:23.647Z","avatar_url":"https://github.com/jerryshell.png","language":"Rust","readme":"# ChepaiHash\n\n_ChepaiHash_ 是一个将数据转换为中国车牌号的哈希工具\n\n## 作为 Cli 使用\n\n```bash\ncargo install --locked --git https://github.com/jerryshell/chepaihash\n```\n\n```bash\nchepaihash helloworld\n# 赣Y·H45YP\n```\n\n## 作为 Lib 使用（no_std）\n\n1. `Cargo.toml`\n\n```toml\n[dependencies]\nchepaihash_core = { git = \"https://github.com/jerryshell/chepaihash\" }\n```\n\n2. `main.rs`\n\n```rust\nlet data = \"helloworld\".as_bytes();\nlet chepai = chepaihash_core::hash(data)?;\nlet chepai_str = chepai.iter().collect::\u003cString\u003e();\nprintln!(\"{}\", chepai_str);\n// 赣Y·H45YP\n```\n\n## 为什么\n\n我需要一个可读性强、易于识别的哈希值来匿名化数据\n\n## 相关项目\n\n- [cunzaizhuyi/hashplate-cn](https://github.com/cunzaizhuyi/hashplate-cn)\n- [hugoattal/hashplate](https://github.com/hugoattal/hashplate)\n\n## 开源协议\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fchepaihash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Fchepaihash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fchepaihash/lists"}