Table of Contents

Delegate ScramShaAuthenticator.Hmac

Namespace
MongoDB.Driver.Core.Authentication
Assembly
MongoDB.Driver.Core.dll

An HMAC function as defined in RFC5802, plus the encoding of the data.

protected delegate byte[] ScramShaAuthenticator.Hmac(UTF8Encoding encoding, byte[] data, string key)

Parameters

encoding UTF8Encoding

The encoding of the data.

data byte[]

The data. Also called "str" in RFC5802.

key string

The key.

Returns

byte[]