{"id":25911449,"url":"https://github.com/copyleftdev/hash-detect","last_synced_at":"2025-07-06T08:36:56.409Z","repository":{"id":201111866,"uuid":"706992477","full_name":"copyleftdev/hash-detect","owner":"copyleftdev","description":"simple hash detection utility","archived":false,"fork":false,"pushed_at":"2023-10-19T03:12:52.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-20T12:00:33.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/copyleftdev.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,"governance":null}},"created_at":"2023-10-19T02:25:52.000Z","updated_at":"2023-10-19T02:27:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"404c7e25-87a9-4796-832f-1d873850b874","html_url":"https://github.com/copyleftdev/hash-detect","commit_stats":null,"previous_names":["copyleftdev/hash-detect"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fhash-detect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fhash-detect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fhash-detect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fhash-detect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copyleftdev","download_url":"https://codeload.github.com/copyleftdev/hash-detect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241637272,"owners_count":19994946,"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":[],"created_at":"2025-03-03T09:17:32.293Z","updated_at":"2025-03-03T09:17:32.911Z","avatar_url":"https://github.com/copyleftdev.png","language":"Go","readme":"# Hash-Detect\n\nHash-Detect is a command-line tool for identifying hash types based on the input string. It checks hashes against various characteristics such as length, prefix, and suffix to make an educated guess on what the possible hash type could be.\n\n## Table of Contents\n\n1. [Installation](#installation)\n2. [Usage](#usage)\n3. [Supported Formats](#supported-formats)\n4. [Limitations and Future Work](#limitations-and-future-work)\n5. [Contribution](#contribution)\n\n## Installation\n\nClone the repository to your local machine and build the project.\n\n```bash\ngit clone https://github.com/copyleftdev/hash-detect.git\ncd hash-detect\ngo build\n```\n## Usage\n\n### Single Hash Detection\n\nTo identify a single hash, simply run the tool with the hash as an argument.\n\n```bash\nhash-detect \u003chash\u003e\n```\n\n### Multiple Hashes from File\n\nTo identify multiple hashes listed in a text file, use the `-f` flag followed by the filename.\n\n```bash\nhash-detect -f \u003cfilename\u003e\n```\n\n### Output Format\n\nBy default, the tool outputs in plain text. You can specify different formats like JSON, XML, or CSV by using the `-o` flag.\n\n```bash\nhash-detect -f \u003cfilename\u003e -o \u003cformat\u003e\n```\n\nSupported formats are: `json`, `xml`, `text`, `csv`\n\n## Supported Formats\n\nCurrently, the tool can detect the following hash types based on their length, prefix, or suffix:\n\n- MD5, CRC32, Adler-32\n- SHA-1, RIPEMD\n- SHA-224\n- SHA-256, BLAKE2, MurmurHash, CityHash, xxHash\n- SHA-384\n- SHA-512, Whirlpool\n- RIPEMD-160, RIPEMD-320\n- And more...\n\n## Limitations and Future Work\n\nWhile the tool aims to be as accurate as possible, it's worth noting that:\n\n- It makes an educated guess and should not be considered 100% reliable.\n- Length-based detection can be ambiguous for certain hash lengths that multiple algorithms share.\n- The pattern-based matching is still being improved for better accuracy.\n\n## Contribution\n\nFeel free to contribute to this project by submitting pull requests or opening issues.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fhash-detect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopyleftdev%2Fhash-detect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fhash-detect/lists"}