Show / Hide Table of Contents

ChallengeResponseAlgorithm Enum

Namespace: Yubico.YubiKey.Otp Assembly: Yubico.YubiKey.dll

The algorithms supported by the YubiKey's challenge-response mode.

C#
public enum ChallengeResponseAlgorithm

Fields

HmacSha1

The HMAC-SHA1 mode creates a HMAC on a 0-64 byte (0-512 bits) data block using a 20 byte (160 bits) fixed key. As all input to the challenge response algorithm is static, the response is deterministic in this mode. That is, if the same challenge is issued repeatedly, the response will be identical each time.

None

The default value for the enumeration.

YubicoOtp

The Yubico OTP mode takes a 6 byte challenge and creates a response using the Yubico OTP algorithm, where variable fields generated by the device creates different responses even if the challenge is the same.

In this article
Back to top Generated by DocFX