Don't reverse the CRC32 output

This commit is contained in:
Matt Nadareski
2023-10-04 16:40:46 -04:00
parent ebdb8de6b3
commit 9ec6fbfe52
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
- Fix errant space in variable name
- Build number not job number
- Use System.IO.Hashing for CRC32
- Don't reverse the CRC32 output
### 2.6.6 (2023-10-04)

View File

@@ -127,7 +127,7 @@ namespace MPF.Core.Hashing
switch (HashType)
{
case Hash.CRC32:
return (_hasher as NonCryptographicHashAlgorithm).GetCurrentHash().Reverse().ToArray();
return (_hasher as NonCryptographicHashAlgorithm).GetCurrentHash();
case Hash.MD5:
case Hash.SHA1: