Skip to content

miniproto.auth.key_exchange.RSAKey

RSAKey(modulus: int, exponent: int) -> None

Telegram RSA public key used to encrypt the req_DH_params payload.

Parameters:

  • modulus (int) – RSA modulus as an unsigned integer.
  • exponent (int) – RSA public exponent as an unsigned integer.