Matt Nadareski 841f5708a3 Update README
2024-11-09 21:32:13 -05:00
2024-03-03 19:30:23 -05:00
2024-03-03 16:27:44 -08:00
2024-10-24 17:21:55 -04:00
2024-10-24 17:21:55 -04:00
2024-11-09 21:32:13 -05:00
2024-03-04 10:41:51 -05:00

SabreTools.Hashing

This library comprises of methods and helpers to simplify the process of getting checksums and hashes from both files and streams.

Internal Implementations

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
CRC All CRC values documented here
RIPEMD 128-, 160-, 256-, and 320-bit variants
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

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
Aaru.Checksums Adler-32, Fletcher-16, Fletcher-32, SpamSum Some code tweaks made to support older .NET versions
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

Find the link to the Nuget package here.

Description
No description provided
Readme 1.1 MiB
Latest
2025-11-13 12:25:14 +00:00
Languages
C# 98%
Shell 1%
PowerShell 1%