Skip to content

Commit 634ce22

Browse files
authored
Add missing declaration attribute to XXH3
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 4acaefd commit 634ce22

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

HashifyNet/Algorithms/XxHash/XxHash3_Implementation.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@
3434

3535
namespace HashifyNet.Algorithms.XxHash3
3636
{
37+
/// <summary>
38+
/// Provides an implementation of the XXH3 (XXHash3) hashing algorithm, supporting both 64-bit and 128-bit hash sizes.
39+
/// </summary>
40+
/// <remarks>This class is designed to compute non-cryptographic hash values using the XXH3 algorithm. It
41+
/// supports streaming input data and is configurable via an <see cref="IXxHash3Config"/> instance. The hash size is
42+
/// fixed at either 64 or 128 bits, as specified in the configuration. <para> This implementation is optimized for
43+
/// performance and is suitable for scenarios requiring fast, high-quality non-cryptographic hashing, such as checksums
44+
/// or hash-based data structures. </para></remarks>
45+
[HashAlgorithmImplementation(typeof(IXxHash3), typeof(XxHash3Config))]
3746
internal class XxHash3_Implementation
3847
: StreamableHashFunctionBase<IXxHash3Config>,
3948
IXxHash3
@@ -103,3 +112,4 @@ protected override IHashValue FinalizeHashValueInternal(CancellationToken cancel
103112
}
104113

105114
}
115+

0 commit comments

Comments
 (0)