Skip to content

StableHash Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

ComputeHash(ReadOnlySpan<byte>)

static
View source
public static uint ComputeHash(ReadOnlySpan<byte> data)
Computes a hash digest of the input.

Parameters

dataReadOnlySpan<byte>
The input data.

Returns

A hash digest of the input.

ComputeHash(string)

static
View source
public static uint ComputeHash(string data)
Computes a hash digest of the input.

Parameters

datastring
The input data.

Returns

A hash digest of the input.