![]() |
VOOZH | about |
dotnet add package SabreTools.Hashing --version 2.0.0
NuGet\Install-Package SabreTools.Hashing -Version 2.0.0
<PackageReference Include="SabreTools.Hashing" Version="2.0.0" />
<PackageVersion Include="SabreTools.Hashing" Version="2.0.0" />Directory.Packages.props
<PackageReference Include="SabreTools.Hashing" />Project file
paket add SabreTools.Hashing --version 2.0.0
#r "nuget: SabreTools.Hashing, 2.0.0"
#:package SabreTools.Hashing@2.0.0
#addin nuget:?package=SabreTools.Hashing&version=2.0.0Install as a Cake Addin
#tool nuget:?package=SabreTools.Hashing&version=2.0.0Install as a Cake Tool
This library comprises of methods and helpers to simplify the process of getting checksums and hashes from both files and streams.
Find the link to the Nuget package here.
For the most recent stable build, download the latest release here: Releases Page
For the latest WIP build here: Rolling Release
Hasher is a reference implementation for hashing and checksumming features of the library, packaged as a standalone executable for all supported platforms. It will attempt to select the correct hashing types based on input and then print the calculated values to standard output.
Hasher <options> file|directory ...
Available options:
-?, -h, --help Show this help
--list List all available hashes and quit
-d, --debug Enable debug mode
-t=, --type= Select included hashes
If no hash types are provided, this tool will default to
outputting CRC-32, MD5, SHA-1, and SHA-256.
Optionally, all supported hashes can be output by
specifying a value of 'all'.
All hash and checksum types here have been written to ensure compatibility across all .NET versions. Some may have been adapted to ensure this compatibility. These can be treated as reference implementations, not always optimized.
| Hash / Checksum Type | Notes |
|---|---|
| Adler-32 | Based on the zlib source code |
| CRC | All CRC values documented here, with CRC-82 only supported in net7.0 and above |
| Fletcher | 16-, 32-, and 64-bit variants |
| FNV | 32-, and 64-bit variants; 0, 1, and 1a algorithms |
| Message Digest | MD2 and MD4 only |
| RIPEMD | 128-, 160-, 256-, and 320-bit variants |
| SpamSum | Based on the SSDEEP source code |
| Tiger | 128-, 160-, and 192-bit variants; 3- and 4-pass; 0x01 and 0x80 (Tiger2) pad-initialized |
| xxHash | xxHash-32 and xxHash-64 only |
External implementations of hash and checksum types may not be compatible with all .NET versions. Please see the table below for more information about support.
| Source | Hash / Checksum Types | Notes |
|---|---|---|
| Blake3.NET | BLAKE3 | Used in net7.0 and above |
| System.IO.Hashing | XXH3, XXH128 | Used in net462 and above |
| System.Security.Cryptography | MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384, SHA3-512, SHAKE128, SHAKE256 | Built-in library; SHA3-256, SHA3-384, SHA3-512, SHAKE128, and SHAKE256 are net8.0 and above only for supported platforms |
Note: If all you care about is performance, I encourage you to forego this library and use the ones listed above directly instead.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 is compatible. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net20 net20 is compatible. net35 net35 is compatible. net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 is compatible. net46 net46 was computed. net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 is compatible. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on SabreTools.Hashing:
| Package | Downloads |
|---|---|
|
SabreTools.IO
Common IO utilities by other SabreTools projects |
|
|
SabreTools.Serialization
Serialization and deserialization helpers for various types |
|
|
UnshieldSharp
Port of Unshield and unshieldv3 to C# |
|
|
WiseUnpacker
Wise installer unpacker based on E_WISE and HWUN |
|
|
BinaryObjectScanner
Protection scanning library |
Showing the top 3 popular GitHub repositories that depend on SabreTools.Hashing:
| Repository | Stars |
|---|---|
|
SabreTools/MPF
Redumper/Aaru/DiscImageCreator GUI in C#
|
|
|
SabreTools/SabreTools
DAT management tool with advanced editing and sorting features
|
|
|
SabreTools/BinaryObjectScanner
C# protection, packer, and archive scanning library
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 1,137 | 3/22/2026 |
| 1.6.1 | 923 | 3/4/2026 |
| 1.6.0 | 1,417 | 11/13/2025 |
| 1.5.1 | 1,712 | 10/7/2025 |
| 1.5.0 | 3,515 | 7/24/2025 |
| 1.4.2 | 1,719 | 1/6/2025 |
| 1.4.1 | 2,709 | 12/16/2024 |
| 1.4.0 | 6,887 | 11/13/2024 |
| 1.3.0 | 394 | 11/12/2024 |
| 1.2.3 | 270 | 11/7/2024 |
| 1.2.2 | 2,682 | 10/24/2024 |
| 1.2.1 | 3,453 | 7/16/2024 |
| 1.2.0 | 8,989 | 3/25/2024 |
| 1.1.4 | 5,650 | 3/6/2024 |
| 1.1.3 | 394 | 3/5/2024 |
| 1.1.2 | 434 | 3/5/2024 |