Share via


IHashGenerator.ComputeHash(Byte[]) Method

Definition

Hashes an array of bytes into a new array of bytes that represents the output hash in the Azure Cosmos DB service.

public byte[] ComputeHash (byte[] key);
abstract member ComputeHash : byte[] -> byte[]
Public Function ComputeHash (key As Byte()) As Byte()

Parameters

key
Byte[]

A key represented by an array of bytes

Returns

Byte[]

An array of bytes that represents the output hash.

Applies to