Soenneker.Hashing.XxHash 4.0.81

Prefix Reserved
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Hashing.XxHash" Version="4.0.81" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Hashing.XxHash" Version="4.0.81" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Hashing.XxHash" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Hashing.XxHash --version 4.0.81
                    
#r "nuget: Soenneker.Hashing.XxHash, 4.0.81"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Hashing.XxHash@4.0.81
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Hashing.XxHash&version=4.0.81
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Hashing.XxHash&version=4.0.81
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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): value is 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): value or expectedHash is null.
  • XxHash3Util.HashToUInt64(value): value is null.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

Update dependency Soenneker.Extensions.Spans.Readonly.Chars to 4.0.104 (#109)