miniproto.auth.key_exchange.ServerDHInnerData
miniproto.auth.key_exchange.ServerDHInnerData
Section titled “miniproto.auth.key_exchange.ServerDHInnerData”ServerDHInnerData(nonce: int, server_nonce: int, g: int, dh_prime: bytes, g_a: bytes, server_time: int) -> NoneValidated plaintext DH group and server public value from Telegram.
Parameters:
- nonce (
int) – Client nonce that must match the active exchange. - server_nonce (
int) – Server nonce that must match the active exchange. - g (
int) – Telegram DH generator. - dh_prime (
bytes) – Big-endian 2048-bit Telegram safe-prime modulus. - g_a (
bytes) – Big-endian server DH public value. - server_time (
int) – Server Unix time used to calculate client time offset.