Show / Hide Table of Contents

CalculateSecret Method

CalculateSecret(ReadOnlyMemory<byte>, ReadOnlyMemory<byte>)

Passes a user-supplied UTF-8 encoded password through 1000 rounds of PBKDF2 with the salt value (the deviceID returned in SelectResponse).

C#
protected static byte[] CalculateSecret(ReadOnlyMemory<byte> password, ReadOnlyMemory<byte> salt)

Parameters

Type Name Description
ReadOnlyMemory<byte> password
ReadOnlyMemory<byte> salt

Returns

byte[]

16 bytes secret for authentication.

In this article
Back to top Generated by DocFX