mirror of
https://github.com/SabreTools/SabreTools.Hashing.git
synced 2026-09-21 14:25:00 +00:00
Make XXH3 definitions easier to read
This commit is contained in:
@@ -2,6 +2,10 @@ using System;
|
||||
using SabreTools.Hashing.Checksum;
|
||||
using SabreTools.Hashing.CryptographicHash;
|
||||
using SabreTools.Hashing.NonCryptographicHash;
|
||||
#if NET462_OR_GREATER || NETSTANDARD2_0_OR_GREATER || NETCOREAPP
|
||||
using XxHash3 = System.IO.Hashing.XxHash3;
|
||||
using XxHash128 = System.IO.Hashing.XxHash128;
|
||||
#endif
|
||||
|
||||
namespace SabreTools.Hashing
|
||||
{
|
||||
@@ -1690,11 +1694,7 @@ namespace SabreTools.Hashing
|
||||
"XXH3 64-bit hash",
|
||||
[0x2d, 0x06, 0x80, 0x05, 0x38, 0xd3, 0x94, 0xc2],
|
||||
"2d06800538d394c2",
|
||||
#if NET462_OR_GREATER || NETSTANDARD2_0_OR_GREATER || NETCOREAPP
|
||||
static () => new System.IO.Hashing.XxHash3());
|
||||
#else
|
||||
static () => new XxHash3());
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// XXH128 128-bit hash
|
||||
@@ -1703,11 +1703,7 @@ namespace SabreTools.Hashing
|
||||
"XXH128 128-bit hash",
|
||||
[0x99, 0xaa, 0x06, 0xd3, 0x01, 0x47, 0x98, 0xd8, 0x60, 0x01, 0xc3, 0x24, 0x46, 0x8d, 0x49, 0x7f],
|
||||
"99aa06d3014798d86001c324468d497f",
|
||||
#if NET462_OR_GREATER || NETSTANDARD2_0_OR_GREATER || NETCOREAPP
|
||||
static () => new System.IO.Hashing.XxHash128());
|
||||
#else
|
||||
static () => new XxHash128());
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user