{"id":21306569,"url":"https://github.com/techmdw/hashit","last_synced_at":"2025-03-15T19:43:57.469Z","repository":{"id":240107938,"uuid":"801697086","full_name":"TechMDW/hashit","owner":"TechMDW","description":"Just another hash program. Takes string or filepath and returns algorithms like Adler-32, MD2, MD4, MD5, SHA-1, SHA-2, SHA-3, FNV, and CRC","archived":false,"fork":false,"pushed_at":"2024-06-18T10:34:16.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-07T06:57:08.530Z","etag":null,"topics":["hash","hashing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechMDW.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-05-16T18:29:52.000Z","updated_at":"2024-06-18T10:34:00.000Z","dependencies_parsed_at":"2024-05-20T11:29:38.697Z","dependency_job_id":"d7df7ef8-8731-4ef1-8088-915aba0e3f36","html_url":"https://github.com/TechMDW/hashit","commit_stats":null,"previous_names":["techmdw/hashit"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fhashit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fhashit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fhashit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechMDW%2Fhashit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechMDW","download_url":"https://codeload.github.com/TechMDW/hashit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784099,"owners_count":20347409,"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":["hash","hashing"],"created_at":"2024-11-21T16:24:34.613Z","updated_at":"2025-03-15T19:43:57.446Z","avatar_url":"https://github.com/TechMDW.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hashit - A CLI Tool for Hashing Files and Strings\n\nHashit is a command-line tool that supports various hash functions for files and strings. It provides an easy way to compute hashes using algorithms like Adler-32, MD4, MD5, SHA-1, SHA-2, SHA-3, FNV, and CRC.\n\n## Features\n\n- Hash files and strings using multiple hash functions.\n- Supports the following hash algorithms:\n  - Adler-32\n  - MD4\n  - MD5\n  - SHA-1\n  - SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256)\n  - SHA-3 (SHA-256, SHA-512, Shake128, Shake256)\n  - FNV (FNV-1, FNV-1a, 32-bit and 64-bit variants)\n  - CRC (CRC32, CRC64)\n\n## Installation\n\n### Via Go\n\nUse Go to install the package for you.\n\n```sh\ngo install github.com/TechMDW/hashit@latest\n```\n\n### Via github releases\n\nYou can download the latest binary from [here](https://github.com/TechMDW/hashit/releases/latest).\n\n### Build it yourself\n\nClone the repository and build the binary\n\n```sh\ngit clone https://github.com/TechMDW/hashit.git\ncd hashit\ngo build -o hashit ./main.go\n```\n\n**PS**: For windows you wanna add the correct extensions, for example `.exe`.\n\n## Usage\n\n### Hash string\n\nTo hash a string, simply pass the string as an argument to the hashit binary:\n\n```sh\nhashit \"hello world\"\n```\n\n### Hash file\n\nTo hash a file, use the -f flag followed by the file path:\n\n```sh\nhashit -f /path/to/file\n```\n\n### Specify a Hash Algorithm\n\nTo use a specific hash algorithm, use the -t flag followed by the hash type:\n\n```\n./hashit \"hello world\" -t md5\n./hashit -f /path/to/file -t sha256\n```\n\n### List Available Hash Functions\n\nTo list all available hash functions, use the list-hashes command:\n\n```sh\n./hashit list-hashes\n```\n\n### Help\n\nTo see the help information, use the --help flag:\n\n```sh\n./hashit --help\n```\n\n## Running test\n\nTo run the tests, use the following command:\n\n```sh\ngo test ./...\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request with your changes.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmdw%2Fhashit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechmdw%2Fhashit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmdw%2Fhashit/lists"}