From dc3cb0be5d4dad566ec0ded5010ffbd549f21866 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 2 Jan 2025 16:00:56 -0500 Subject: [PATCH] Simplify namespace usage --- SabreTools.Hashing/HashWrapper.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SabreTools.Hashing/HashWrapper.cs b/SabreTools.Hashing/HashWrapper.cs index 3d44d9c..41f4942 100644 --- a/SabreTools.Hashing/HashWrapper.cs +++ b/SabreTools.Hashing/HashWrapper.cs @@ -5,9 +5,6 @@ using System.IO.Hashing; using System.Security.Cryptography; using Aaru.Checksums; using Aaru.CommonTypes.Interfaces; -#if NET7_0_OR_GREATER -using Blake3; -#endif using SabreTools.Hashing.Checksum; using SabreTools.Hashing.CryptographicHash; using SabreTools.Hashing.NonCryptographicHash; @@ -127,7 +124,7 @@ namespace SabreTools.Hashing HashType.Adler32 => new Adler32(), #if NET7_0_OR_GREATER - HashType.BLAKE3 => new Blake3HashAlgorithm(), + HashType.BLAKE3 => new Blake3.Blake3HashAlgorithm(), #endif HashType.CRC1_ZERO => new Crc(StandardDefinitions.CRC1_ZERO),