mirror of
https://github.com/SabreTools/SabreTools.Hashing.git
synced 2026-11-15 17:00:27 +00:00
c8f7497bf3a38fba0a9de1eebda12b635ff67bc4
SabreTools.Hashing
This library comprises of methods and helpers to simplify the process of getting checksums and hashes from both files and streams. See the following table for information about where each of the various components comes from:
| Source | Hash / Checksum Types | Notes |
|---|---|---|
| Aaru.Checksums | Adler-32, CRC-16 (CCITT and IBM polynomials), Fletcher-16, Fletcher-32, SpamSum | Some code tweaks made to support older .NET versions |
| Blake3.NET | BLAKE3 | Used in net7.0 and above |
| Compress | N/A | Used for threaded hashing |
| CRC32 | CRC-32 (Multiple implementations) | Used in net20, net35, net40, and net452 as primary CRC-32 calculation |
| System.IO.Hashing | CRC-32, CRC-64, xxHash32, xxHash64, XXH3, XXH128 | Used in net462 and above |
| System.Security.Cryptography | MD5, RIPEMD160 (.NET Framework only), SHA-1, SHA-256, SHA-384, SHA-512 | Built-in library |
Find the link to the Nuget package here.
Description
Releases
15
Languages
C#
98%
Shell
1%
PowerShell
1%