Skip to main content

passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow

This key derivation algorithm defines that SRP 2FA login must be used

type tg.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow struct { /* ... */ }

Implements PasswordKdfAlgo.

Fields

NameTypeRequiredDescription
Salt1[]byteyesOne of two salts used by the derivation function (see SRP 2FA login)
Salt2[]byteyesOne of two salts used by the derivation function (see SRP 2FA login)
GintyesBase (see SRP 2FA login)
P[]byteyes2048-bit modulus (see SRP 2FA login)

References