FsCheck runs each property on 500 random inputs and reports the smallest one that fails:
- the checksum parser accepts any text (random and checksum-shaped lines) without throwing, and whatever it accepts
is a hexadecimal digest of the algorithm's length;
- GNU (with backslashes and line breaks in names), BSD and SFV files read back exactly what ChecksumWriter wrote;
- ChecksumEntry.ResolvePath never returns a network or device path and refuses names starting with // or \;
- HashMatcher ignores letter case, spaces and a 0x prefix, rejects wrong lengths and non-hex digits, and accepts the
reversed CRC32 that Hash Tool 1.1 wrote;
- TextHashing writes every line break the chosen way.
OpenSSF Scorecard counts FsCheck as fuzzing. FsCheck (BSD-3-Clause) is a test-only dependency, updated by Dependabot
with the other test packages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/HashTool.App: the Avalonia app (namespace HashTool.App). The assembly
keeps the name CheckHash because every 1.x release shipped CheckHash(.exe)
as Velopack's mainExe.
- src/HashTool.Core: UI-independent hashing code (HashService, HashType,
ProgressStream, ProcessingStrategyService, AppConstants).
- tests/HashTool.Core.Tests: xUnit v3 characterization tests for the hashing
service, including the current little-endian CRC-32 output.
- Directory.Build.props (shared settings, NuGet audit), central package
management, global.json (SDK 10.0.4xx, Microsoft.Testing.Platform runner),
.editorconfig, HashTool.slnx replace CheckHash.csproj/CheckHash.sln.
- Only the icon and logo are embedded as Avalonia resources; screenshots move
to docs/images and are no longer compiled into the binary.
- Drop the unused generated Resources.Designer.cs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>