miniproto.auth.key_exchange.ReqDHParams
miniproto.auth.key_exchange.ReqDHParams
Section titled “miniproto.auth.key_exchange.ReqDHParams”ReqDHParams(nonce: int, server_nonce: int, p: bytes, q: bytes, public_key_fingerprint: int, encrypted_data: bytes) -> NoneSerialized req_DH_params request containing RSA-encrypted inner data.
Parameters:
- nonce (
int) – Client nonce from the initialreq_pq_multirequest. - server_nonce (
int) – Server nonce returned byresPQ. - p (
bytes) – First factor of Telegram’spqchallenge. - q (
bytes) – Second factor of Telegram’spqchallenge. - public_key_fingerprint (
int) – Signed fingerprint identifying the selected server RSA key. - encrypted_data (
bytes) – RSA_PAD ciphertext of :class:PQInnerDataDCbytes.