Soenneker.Hashing.XxHash
4.0.81
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Hashing.XxHash --version 4.0.81
NuGet\Install-Package Soenneker.Hashing.XxHash -Version 4.0.81
<PackageReference Include="Soenneker.Hashing.XxHash" Version="4.0.81" />
<PackageVersion Include="Soenneker.Hashing.XxHash" Version="4.0.81" />
<PackageReference Include="Soenneker.Hashing.XxHash" />
paket add Soenneker.Hashing.XxHash --version 4.0.81
#r "nuget: Soenneker.Hashing.XxHash, 4.0.81"
#:package Soenneker.Hashing.XxHash@4.0.81
#addin nuget:?package=Soenneker.Hashing.XxHash&version=4.0.81
#tool nuget:?package=Soenneker.Hashing.XxHash&version=4.0.81
Soenneker.Hashing.XxHash
High-performance XXH3 (64-bit) hashing utilities with UTF-8 string adapters, stackalloc / pooling optimizations, and allocation-free hex formatting.
Install
dotnet add package Soenneker.Hashing.XxHash
Quick start
using Soenneker.Hashing.XxHash;
var result = XxHash3Util.Hash("value");
Computes a lowercase 16-character hexadecimal XXH3 hash of the provided string.
What you get
XxHash3Util— High-performance XXH3 (64-bit) hashing utilities with UTF-8 string adapters, stackalloc / pooling optimizations, and allocation-free hex formatting.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
XxHash3Util.Hash(value) |
Computes a lowercase 16-character hexadecimal XXH3 hash of the provided string. | A 16-character lowercase hexadecimal hash. |
XxHash3Util.Verify(value, expectedHash) |
Verifies that the provided string hashes to the expected hexadecimal XXH3 value. | true if the hashes match; otherwise false. |
Important behavior
XxHash3Util.Hash(value):valueis null.XxHash3Util.HashUtf8ToUInt64(utf8, seed): The hash result is deterministic for the same input and seed. Providing a nonzero seed allows for generating different hash values for the same input, which can be useful for scenarios such as randomized hashing or hash partitioning.XxHash3Util.HashCharsToUInt64(chars, seed): This method encodes the input characters as UTF-8 before computing the hash. Using the same seed and input will always produce the same hash value. The method is suitable for generating hash codes for text data where consistent results are required across executions.XxHash3Util.Verify(value, expectedHash):valueorexpectedHashis null.XxHash3Util.HashToUInt64(value):valueis null.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Spans.Readonly.Chars (>= 4.0.104)
- System.IO.Hashing (>= 10.0.11)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Soenneker.Hashing.XxHash:
| Package | Downloads |
|---|---|
|
Soenneker.HighLevel.Client
Provides cached HighLevel HTTP clients with optional per-API-key authentication |
|
|
Soenneker.Node.Util
A utility library for Node related operations |
|
|
Soenneker.HubSpot.Client
Provides cached HubSpot HTTP clients authenticated with private app access tokens |
|
|
Soenneker.Zoho.HttpClients
Provides cached HTTP clients for Zoho CRM access tokens and data-center API origins. |
|
|
Soenneker.N8n.HttpClients
Provides cached, authenticated HTTP clients for one or more n8n servers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.92 | 114 | 9/9/2026 |
| 4.0.91 | 344 | 9/8/2026 |
| 4.0.90 | 586 | 9/7/2026 |
| 4.0.89 | 270 | 9/7/2026 |
| 4.0.88 | 380 | 9/7/2026 |
| 4.0.87 | 1,129 | 9/5/2026 |
| 4.0.86 | 1,214 | 9/4/2026 |
| 4.0.85 | 2,506 | 8/31/2026 |
| 4.0.84 | 544 | 8/31/2026 |
| 4.0.83 | 439 | 8/31/2026 |
| 4.0.82 | 359 | 8/30/2026 |
| 4.0.81 | 601 | 8/30/2026 |
| 4.0.80 | 1,299 | 8/29/2026 |
| 4.0.79 | 91 | 8/29/2026 |
| 4.0.78 | 3,358 | 8/21/2026 |
| 4.0.77 | 1,925 | 8/18/2026 |
| 4.0.75 | 348 | 8/18/2026 |
| 4.0.74 | 1,259 | 8/12/2026 |
| 4.0.73 | 3,659 | 8/7/2026 |
| 4.0.72 | 1,826 | 7/29/2026 |
Update dependency Soenneker.Extensions.Spans.Readonly.Chars to 4.0.104 (#109)