Table of Contents

Delegate ScramShaAuthenticator.Hi

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

A Hi function used to compute the SaltedPassword as defined in RFC5802, except with "str" parameter replaced with a UsernamePassword credential so that the password can be optionally digested/prepped in a secure fashion before being consumed as the "str" parameter would be in RFC5802's Hi.

protected delegate byte[] ScramShaAuthenticator.Hi(UsernamePasswordCredential credentials, byte[] salt, int iterations)

Parameters

credentials UsernamePasswordCredential

The credential to be digested/prepped before being consumed as the "str" parameter would be in RFC5802's Hi

salt byte[]

The salt.

iterations int

The iteration count.

Returns

byte[]