Understand the Secret Group Call Encryption Architecture
masterSecret group calls in TDLib rely on three integrated components to ensure security and synchronization:
- Blockchain: A distributed ledger that manages group state (participants and shared keys). The hash of the most recent block is used to generate verification words and verification emojis for MitM protection.
- Encryption Protocol: An efficient protocol that encrypts video and audio frames at the media level rather than the network level. Each packet is signed for authorship verification.
- Emoji Generation Protocol: A two-phase commit-reveal protocol used to generate unpredictable randomness from the blockchain hash, preventing block creators from brute-forcing specific emojis.
Security Note: MitM protection depends on all participants verifying they see identical emojis. If the server delivers different blocks to different participants, the resulting fork hashes will permanently differ.