PasswordKdfAlgo#

class pyrogram.raw.base.PasswordKdfAlgo#

Key derivation function to use when generating the password hash for SRP two-factor authorization.

Constructors:

This base type has 2 constructors available.

PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow

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

PasswordKdfAlgoUnknown

Unknown KDF (most likely, the client is outdated and does not support the specified KDF algorithm).