PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#

class pyrogram.raw.types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#

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

Constructor of PasswordKdfAlgo.

Details:
  • Layer: 158

  • ID: 3A912D4A

Parameters:
  • salt1 (bytes) – One of two salts used by the derivation function (see SRP 2FA login).

  • salt2 (bytes) – One of two salts used by the derivation function (see SRP 2FA login).

  • g (int 32-bit) – Base (see SRP 2FA login).

  • p (bytes) – 2048-bit modulus (see SRP 2FA login).