Table of Contents

Class TotpSecretGenerator

Namespace
GastroSky.Services.Totp.TotpSecretGenerator
Assembly
GastroSky.dll

TOTP Secret string generator service (for 2FA; Google Auth, etc...).

public sealed class TotpSecretGenerator : ITotpSecretGenerator
Inheritance
TotpSecretGenerator
Implements
Inherited Members

Methods

GenerateSecret(int)

TOTP Secret string generator service (for 2FA; Google Auth, etc...).

public string GenerateSecret(int size = 20)

Parameters

size int

Returns

string