Table of Contents

Method HexHash

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

HexHash<TValue>(TValue, MqlHashAlgorithm)

Generates a hexadecimal hash string for an input expression.

public static string HexHash<TValue>(TValue value, MqlHashAlgorithm algorithm)

Parameters

value TValue

The value.

algorithm MqlHashAlgorithm

The hashing algorithm.

Returns

string

Generated hash as an uppercase string of hexadecimal digits.

Type Parameters

TValue

The type of the value.