Edytuj

Udostępnij za pośrednictwem


StableHash.ComputeHash Method

Definition

Overloads

ComputeHash(ReadOnlySpan<Byte>)

Computes a hash digest of the input.

ComputeHash(String)

Computes a hash digest of the input.

ComputeHash(ReadOnlySpan<Byte>)

Computes a hash digest of the input.

public static uint ComputeHash (ReadOnlySpan<byte> data);
static member ComputeHash : ReadOnlySpan<byte> -> uint32
Public Shared Function ComputeHash (data As ReadOnlySpan(Of Byte)) As UInteger

Parameters

data
ReadOnlySpan<Byte>

The input data.

Returns

A hash digest of the input.

Applies to

ComputeHash(String)

Computes a hash digest of the input.

public static uint ComputeHash (string data);
static member ComputeHash : string -> uint32
Public Shared Function ComputeHash (data As String) As UInteger

Parameters

data
String

The input data.

Returns

A hash digest of the input.

Applies to