logo
Electrogram Docs
SecurePasswordKdfAlgo
Initializing search
    Electrogram
    • Introduction
    • Getting Started
    • API Reference
    • Topic Guides
    • Meta
    • Telegram Raw API
    Electrogram
      • Quick Start
      • Install Guide
      • Project Setup
      • Authorization
      • Invoking Methods
      • Handling Updates
      • Error Handling
      • Examples
      • Electrogram Client
      • Available Methods
      • Available Types
      • Bound Methods
      • Available Enums
      • Update Handlers
      • Decorators
      • RPC Errors
      • Update Filters
      • Using Filters
      • Creating Filters
      • More on Updates
      • Client Settings
      • Text Formatting
      • Smart Plugins
      • Storage Engines
      • Object Serialization
      • Proxy Settings
      • Scheduling Tasks
      • MTProto vs. Bot API
      • Debugging
      • Test Servers
      • Advanced Usage
      • Voice Calls
      • Frequently Asked Questions
      • Support Electrogram
      • Raw Functions
      • Raw Types
      • Raw Base

    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)