JenkinsHash.ComputeHash 方法

定义

重载

ComputeHash(Byte[])
ComputeHash(ReadOnlySpan<Byte>)
ComputeHash(String)
ComputeHash(UInt64, UInt64, UInt64)

ComputeHash(Byte[])

Source:
JenkinsHash.cs
public static uint ComputeHash (byte[] data);
static member ComputeHash : byte[] -> uint32
Public Shared Function ComputeHash (data As Byte()) As UInteger

参数

data
Byte[]

返回

适用于

ComputeHash(ReadOnlySpan<Byte>)

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

参数

返回

适用于

ComputeHash(String)

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

参数

data
String

返回

适用于

ComputeHash(UInt64, UInt64, UInt64)

Source:
JenkinsHash.cs
public static uint ComputeHash (ulong u1, ulong u2, ulong u3);
static member ComputeHash : uint64 * uint64 * uint64 -> uint32
Public Shared Function ComputeHash (u1 As ULong, u2 As ULong, u3 As ULong) As UInteger

参数

u1
UInt64
u2
UInt64
u3
UInt64

返回

适用于