{"id":21499645,"url":"https://github.com/thebluesky/dotnet-hash","last_synced_at":"2025-04-09T20:15:08.687Z","repository":{"id":143585743,"uuid":"146076098","full_name":"TheBlueSky/dotnet-hash","owner":"TheBlueSky","description":"A simple dotnet tool to calculate hashes","archived":false,"fork":false,"pushed_at":"2024-11-14T19:59:28.000Z","size":22,"stargazers_count":27,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T20:15:03.174Z","etag":null,"topics":["algorithm","base64","dotnet","dotnet-tool","hash","hash-algorithm","hex","md5","sha1","sha2","sha256","sha384","sha512"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/TheBlueSky.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-08-25T07:41:06.000Z","updated_at":"2024-11-14T19:59:32.000Z","dependencies_parsed_at":"2025-01-02T02:16:17.319Z","dependency_job_id":null,"html_url":"https://github.com/TheBlueSky/dotnet-hash","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBlueSky%2Fdotnet-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBlueSky%2Fdotnet-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBlueSky%2Fdotnet-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBlueSky%2Fdotnet-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheBlueSky","download_url":"https://codeload.github.com/TheBlueSky/dotnet-hash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":["algorithm","base64","dotnet","dotnet-tool","hash","hash-algorithm","hex","md5","sha1","sha2","sha256","sha384","sha512"],"created_at":"2024-11-23T17:17:16.453Z","updated_at":"2025-04-09T20:15:08.628Z","avatar_url":"https://github.com/TheBlueSky.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"dotnet-hash\n===========\n\n[![Build](https://img.shields.io/azure-devops/build/thebluesky/c81281f3-f29c-4f59-87e5-dca12f44d979/2)][1] ![NuGet](https://img.shields.io/nuget/v/TheBlueSky.DotNet.Tools.SwiftHash) [![NuGet](https://img.shields.io/nuget/dt/TheBlueSky.DotNet.Tools.SwiftHash)][2]\n\nA simple dotnet tool to calculate hashes for the given file.\n\nThe tool calculates MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for any file and outputs the result as Base64 or Hex string.\n\n## Installation\n\nTo install the tool you need to install [.NET 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 7.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/7.0), [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0), or [.NET 9.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0). Once installed, run this command:\n\n```powershell\ndotnet tool install TheBlueSky.DotNet.Tools.SwiftHash --global\n```\n\n## Usage\n\n```\nUsage: dotnet hash [arguments] [options]\n\nArguments:\n  path                        Path to the file to calculate the hash for\n\nOptions:\n  -?|-h|--help                Show help information\n  -a|--algorithm \u003cALGORITHM\u003e  The hashing algorithm\n  -o|--out \u003cOUTPUT\u003e           The output format\n\nThe tool calculates MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes\nfor any file and outputs the result as Base64 or Hex string.\nThe bigger the file is, the longer it takes to calculate the hash.\n```\n\nFor example:\n\n```powershell\ndotnet hash readme.md --algorithm sha256 --out hex\n```\n\nValid `algorithm`:\n\n* `md5`\n* `sha1`\n* `sha256`\n* `sha384`\n* `sha512`\n\nValid `out`:\n\n* `base64`\n* `hex`\n\n[1]: https://thebluesky.visualstudio.com/dotnet-hash/_build/latest?definitionId=2\u0026branchName=master\n[2]: https://www.nuget.org/packages/TheBlueSky.DotNet.Tools.SwiftHash/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebluesky%2Fdotnet-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebluesky%2Fdotnet-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebluesky%2Fdotnet-hash/lists"}