ChallengeResponseAlgorithm Class
Namespace: Yubico.YubiKey.Otp Assembly: Yubico.YubiKey.dllThe algorithms supported by the YubiKey's challenge-response mode.
C#
public sealed class ChallengeResponseAlgorithm : Enum
Inheritance
System.Object
ChallengeResponseAlgorithm
Fields
Name | Description |
---|---|
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. |
value__ | |
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. |