CodeGlyphX logo
CodeGlyphX

API Reference

Enum

OtpAlgorithm

Namespace CodeGlyphX
Assembly CodeGlyphX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Hash algorithm identifiers used in otpauth:// URIs.

Inheritance

  • Enum
  • OtpAlgorithm

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const OtpAlgorithm Sha1 #

HMAC-SHA1 (default for TOTP).

Value: 0
public const OtpAlgorithm Sha256 #

HMAC-SHA256.

Value: 1
public const OtpAlgorithm Sha512 #

HMAC-SHA512.

Value: 2