PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow

class pyrogram.raw.types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow

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

Constructor type of PasswordKdfAlgo.

Details
  • Layer: 126

  • ID: 0x3a912d4a

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).