{"id":20269014,"url":"https://github.com/patatetom/hashs","last_synced_at":"2026-05-13T03:01:49.663Z","repository":{"id":256781108,"uuid":"176468497","full_name":"patatetom/hashs","owner":"patatetom","description":"allows to calculate several hash functions simultaneously ","archived":false,"fork":false,"pushed_at":"2020-09-04T14:21:32.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T05:28:42.798Z","etag":null,"topics":["bash","bash-script","hash","md5","sha1","sha256","xxhash"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/patatetom.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-19T08:58:35.000Z","updated_at":"2024-11-05T03:19:31.000Z","dependencies_parsed_at":"2024-09-13T02:51:45.898Z","dependency_job_id":"212c864c-93e9-44d1-9a5f-3d765e5672a1","html_url":"https://github.com/patatetom/hashs","commit_stats":null,"previous_names":["patatetom/hashs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fhashs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fhashs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fhashs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patatetom%2Fhashs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patatetom","download_url":"https://codeload.github.com/patatetom/hashs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241753144,"owners_count":20014252,"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":["bash","bash-script","hash","md5","sha1","sha256","xxhash"],"created_at":"2024-11-14T12:22:41.620Z","updated_at":"2025-12-03T06:11:04.780Z","avatar_url":"https://github.com/patatetom.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hashs\n\nallows to calculate several hash functions simultaneously \n\n\n## installation\n\nmake the bash `hashs` script executable and move it to one of your `$PATH` folders :\n\n```shell\n$ chmod +x ./hashs\n\n$ echo $PATH\n/home/user/.local/bin:/bin:/usr/bin:/usr/local/bin\n\n$ # for personal use\n$ mv ./hashs /home/user/.local/bin\n\n$ # for system use\n$ sudo mv ./hashs /usr/local/bin/\n```\n\n`hashs` uses [xxHash](https://github.com/Cyan4973/xxHash) non-cryptographic hash function : you can install it if you want to use it or delete the corresponding line of the script if you don't.\n\n\n## usage\n\n`hashs` can process one or more files :\n\n```shell\n$ hashs /tmp/zfs.disk \n/tmp/zfs.disk\nsize   : 3276800\nM date : 2019-03-19 09:29:52\nA date : 2019-03-19 10:13:21\nC date : 2019-03-19 09:29:52\nxxh64  : fa22b5e113963903\nmd5    : 708d4dc6e7096d01adaa0e79ca9d727b\nsha1   : 8fcad952fea87e0f99557cccad919ceb00dcc5e8\nsha256 : d8e039fa55e7d087d31dfccf2c227dec0537ab753841d50121c78145fc89525d\n\n$ hashs /tmp/z*.disk\n/tmp/zfs.disk\nsize   : 3276800\nM date : 2019-03-19 09:29:52\nA date : 2019-03-19 10:15:47\nC date : 2019-03-19 09:29:52\nxxh64  : fa22b5e113963903\nmd5    : 708d4dc6e7096d01adaa0e79ca9d727b\nsha1   : 8fcad952fea87e0f99557cccad919ceb00dcc5e8\nsha256 : d8e039fa55e7d087d31dfccf2c227dec0537ab753841d50121c78145fc89525d\n\n/tmp/zol.disk\nsize   : 3276800\nM date : 2019-03-19 10:17:01\nA date : 2019-03-19 10:17:01\nC date : 2019-03-19 10:17:01\nxxh64  : 267e255eac404a83\nmd5    : 4aee71421bcecd550191cf3ecdf0fc33\nsha1   : fda88b21a38bef77266f4ee027d5989078105ce2\nsha256 : bbcaade415a47515be4a1742b53bfd7b66174f0384022d8f398e52e9c82773c1\n```\n\nand read from standard input :\n\n```shell\n$ hashs \u003c /tmp/zfs.disk \n/dev/stdin\nxxh64  : fa22b5e113963903\nmd5    : 708d4dc6e7096d01adaa0e79ca9d727b\nsha1   : 8fcad952fea87e0f99557cccad919ceb00dcc5e8\nsha256 : d8e039fa55e7d087d31dfccf2c227dec0537ab753841d50121c78145fc89525d\n\n$ cat splited.* | hashs\n/dev/stdin\nxxh64  : fa22b5e113963903\nmd5    : 708d4dc6e7096d01adaa0e79ca9d727b\nsha1   : 8fcad952fea87e0f99557cccad919ceb00dcc5e8\nsha256 : d8e039fa55e7d087d31dfccf2c227dec0537ab753841d50121c78145fc89525d\n```\n```shell\n# pv /dev/sda1 | hashs\n499MiO 0:00:03 [ 124MiB/s] [================================\u003e] 100%            \n/dev/stdin\nxxh64  : a511b74c40a55a76\nmd5    : 3ff5cae5ad36ac8e9371f9836b403587\nsha1   : e06accc824ed2073c71a2f7a55155dca189d5910\nsha256 : a76ccc02aa4cc836abc07a606835817fb28b8a535655fca12ab226571db29fb2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatatetom%2Fhashs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatatetom%2Fhashs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatatetom%2Fhashs/lists"}