SecurePasswordKdfAlgo

class pyrogram.raw.base.SecurePasswordKdfAlgo

KDF algorithm to use for computing telegram passport hash

Constructors:

This base type has 3 constructors available.

SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000

PBKDF2 with SHA512 and 100000 iterations KDF algo

SecurePasswordKdfAlgoSHA512

SHA512 KDF algo

SecurePasswordKdfAlgoUnknown

Unknown KDF algo (most likely the client has to be updated)

TL Schema


Parameter Tree

SecurePasswordKdfAlgo
│ └── saltbytes
└── saltbytes

Example