89 Commits

Author SHA1 Message Date
Matt Nadareski
f0f23fb6c6 Add .NET 11 support 2026-11-11 09:47:49 +01:00
Matt Nadareski
ee8ccddfd9 Update packages 2026-08-26 16:46:13 -04:00
Matt Nadareski
b541c61007 Update packages 2026-07-31 11:13:39 -04:00
Matt Nadareski
febb341421 Expose all hash types and cleanup
This exposes all HashType implementations for all .NET versions. For versions that are not supported for a particular hash, only the hash creation method is gated. This allows for access to the type, name, description, and zero bytes/string properties.
2026-07-23 13:26:21 -04:00
Matt Nadareski
339e706202 Update packages, relax requirements 2026-07-10 09:46:38 -04:00
Matt Nadareski
529dae9658 Add CRC-82/DARC 2026-03-20 12:57:41 -04:00
Matt Nadareski
8606221b3c Add zero hashes as readonly properties 2026-03-20 11:42:54 -04:00
Matt Nadareski
20cc2f6036 If migrating away from enum, do it more extensibly 2026-03-20 09:21:47 -04:00
Matt Nadareski
f37a76b030 Update packages 2026-03-20 08:12:31 -04:00
Matt Nadareski
00a5c6c2c5 Convert HashType from enum to static class with constants
Because the ordering of the enum was not guaranteed, both because of variances in .NET version and even library version, any change could mean that invisible version bumps would misalign. This attempts to fix that by converting HashType from an enum to a static class with a set of constants instead. This allows logical groupings and orderings without it affecting the values of each item.
2026-03-20 00:18:40 -04:00
Matt Nadareski
816af537e1 Update packages 2026-02-26 20:39:14 -05:00
Matt Nadareski
a334ffc25a Slightly more cleanup and clarification 2026-01-27 09:13:30 -05:00
Matt Nadareski
0075b9b1ad Add CRC-32/DVD-ROM-EDC (fixes #4) 2026-01-11 09:20:15 -05:00
Matt Nadareski
978a3847de Add support for .NET 10 2025-11-12 20:00:11 -05:00
Matt Nadareski
53e28df7f8 Make MekaCrc official 2025-09-25 07:51:44 -04:00
Matt Nadareski
1619046d11 Rewrite comparison code to fit C# better, add tests 2025-09-24 22:18:02 -04:00
Matt Nadareski
05617c5c7e Slight test cleanup 2025-09-24 21:41:26 -04:00
HeroponRikiBestest
cce8a18b03 Add SpamSum fuzzy compare (#3)
* Pre-cleaned drop in fuzzycompare

* Finish cleaning up code.

* Figure out why i can't debug my unit tests

* Fix stupid mistake

* First round of changes

* Extra tests

* Revert TestHelper.cs

* Roll back TestHelper.cs correctly.

* Roll back Options.cs and Program.cs
2025-09-24 21:32:11 -04:00
Matt Nadareski
4d92c7cd23 Update nuget packages 2025-07-24 08:34:59 -04:00
Matt Nadareski
acf1e3ec71 Reduce target frameworks for test project 2025-02-25 21:28:49 -05:00
Matt Nadareski
10027f78e3 Fix how conditions are used for references 2025-02-25 21:24:38 -05:00
Matt Nadareski
08512abc59 Maintain consistency between supported structures 2025-01-06 00:12:32 -05:00
Matt Nadareski
c82a6dc39b Add stream GetStandardHashes variant 2025-01-05 23:39:00 -05:00
Matt Nadareski
8dee2e2501 Add tests around length additions 2025-01-05 23:10:50 -05:00
Matt Nadareski
165bbdfd72 Add .NET 9 to target frameworks 2024-11-13 02:00:18 -05:00
Matt Nadareski
adc918ea8a Make FNV public 2024-11-11 04:00:56 -05:00
Matt Nadareski
3382c20217 Add MD4 efficient implementation 2024-11-10 23:32:33 -05:00
Matt Nadareski
3e18ddce9f Create inefficient MD2 implementation 2024-11-10 21:36:38 -05:00
Matt Nadareski
2e3e16e8ae Add zero byte hash byte arrays 2024-11-10 20:36:30 -05:00
Matt Nadareski
8fa100eb89 Add zero byte hash strings 2024-11-10 19:57:37 -05:00
Matt Nadareski
d57396612f Add Fletcher family checksums 2024-11-09 23:14:31 -05:00
Matt Nadareski
6df184fa4e Add Tiger2 variants (0x80 pad start) 2024-11-09 21:32:02 -05:00
Matt Nadareski
bb9d4155d2 Add Tiger family hashes 2024-11-09 20:46:05 -05:00
Matt Nadareski
79c10cf2fb Add RIPEMD-256 implementation 2024-11-09 02:59:17 -05:00
Matt Nadareski
ffc6bc045d Add RIPEMD-320 implementation 2024-11-09 02:54:04 -05:00
Matt Nadareski
d096cbf07e Add RIPEMD-128 implementation 2024-11-09 02:33:51 -05:00
Matt Nadareski
bb67c3e2f3 Migrate to internal RIPEMD-160 implementation 2024-11-09 01:18:52 -05:00
Matt Nadareski
f74c9ddffd Use internal implementation for XXH64 2024-11-08 13:11:58 -05:00
Matt Nadareski
b728aa77c7 Use internal implementation for XXH32 2024-11-08 12:33:43 -05:00
Matt Nadareski
9c27523612 xxHash aren't reversed 2024-11-08 00:54:22 -05:00
Matt Nadareski
7559ba2edc Add CRC-1 (parity bit) 2024-11-07 22:25:48 -05:00
Matt Nadareski
7878591107 Add CRC-3/4/5/6/7 implementations 2024-11-07 15:18:18 -05:00
Matt Nadareski
6f536b8e2a Add CRC-8 implementations 2024-11-07 14:54:44 -05:00
Matt Nadareski
0e8694cc90 Add CRC-10/11/12/13/14/15 implementations 2024-11-07 14:28:08 -05:00
Matt Nadareski
a7f8e0664a Fix reflecting initial value 2024-11-07 13:56:56 -05:00
Matt Nadareski
1a941b44fc Fix and reenable CRC-17 2024-11-07 12:49:33 -05:00
Matt Nadareski
c1a9e007c5 Make test more maintainable 2024-11-07 12:24:12 -05:00
Matt Nadareski
fb83427c91 Add CRC-17 and CRC-21 implementations 2024-11-07 03:36:34 -05:00
Matt Nadareski
57f9aa9133 Add CRC-30 and CRC-31 implementations 2024-11-07 03:13:05 -05:00
Matt Nadareski
d8da0d6312 Update test packages 2024-11-06 20:36:18 -05:00