Share to: share facebook share twitter share wa share telegram print page

Sender Keys

In cryptography, Sender Keys is a variant of the Signal Protocol[1] used in end-to-end encryption used in instant messaging. Sender Keys is used for group chats.[1] Applications using it have included Signal, Matrix, WhatsApp, Session, and Facebook Messenger.[2][3][4][5][6][7]

In order to scale to large groups, the protocol takes advantage of server-side fan-out and avoids computing a shared group key.[2][3][7] The algorithm relies upon secure pairwise communication channels between peers that provide confidentiality and authentication. For example, an Authenticated Key Exchange algorithm such as Extended Triple Diffie-Hellman (X3DH) may be combined with the Double Ratchet Algorithm to construct such a channel in practice, as is the case with WhatsApp.[8][2]

The protocol was described in a whitepaper from WhatsApp[2], and it is also related to the Messaging Layer Security standard.[9]

Functioning

External videos
video icon What's Up With Group Messaging? - Computerphile on YouTube, January 29, 2019 (video length: 10:49)

In Sender Keys, users within a group are assumed to maintain secure pairwise communication channels with each other user. Each user constructs a session that consists of a symmetric key and an asymmetric signing key pair; each user sends their session's symmetric key and the signing key pair's public key to each other user through the respective pairwise secure channels.[citation needed]

To send a message, a user "ratchets" their symmetric key forward by applying a cryptographic hash function, encrypts their message with the newly hashed symmetric key, and constructs a digital signature protecting the encrypted message with the private signing key. The sender forwards the encrypted message to the server, who then fans it out to all receivers. Each receiver checks the signature with public signing key, hashes their symmetric key to match the sender, and decrypts the message.[citation needed]

Users regenerate and re-transmit sessions periodically, or whenever a user leaves or joins the group.[2][3][7]

Security properties

Security properties of Sender Keys include message confidentiality, message integrity, message authentication, forward secrecy, post-compromise security, scalability, and asynchronicity.[5][6]

See also

References

  1. ^ a b Oppliger 2025, pp. 239.
  2. ^ a b c d e WhatsApp Encryption Overview – Technical white paper (PDF) (Report). 8. WhatsApp LLC. 19 August 2024. p. 40. Retrieved 5 August 2025.
  3. ^ a b c Messenger End-to-End Encryption Overview (PDF) (Report). 1. Meta LLC. 6 December 2023. p. 25. Retrieved 5 August 2025.
  4. ^ Jefferys, Kee (15 December 2020). "Session Protocol: Technical implementation details". Session Private Messenger Blog. Oxen Privacy Tech Foundation. Archived from the original on 19 June 2025. Retrieved 5 August 2025.
  5. ^ a b Balbás, David; Collins, Daniel; Gajland, Phillip (2023-12-18). "WhatsUpp with Sender Keys? Analysis, Improvements and Security Proofs". Advances in Cryptology – ASIACRYPT 2023: 29th International Conference on the Theory and Application of Cryptology and Information Security, Guangzhou, China, December 4–8, 2023, Proceedings, Part V. Berlin, Heidelberg: Springer-Verlag: 307–341. doi:10.1007/978-981-99-8733-7_10. ISBN 978-981-99-8732-0. (PDF)
  6. ^ a b Albrecht, Martin R.; Dowling, Benjamin; Jones, Daniel (2024-05-19). "Device-Oriented Group Messaging: A Formal Cryptographic Analysis of Matrix' Core". 2024 IEEE Symposium on Security and Privacy (SP): 2666–1685. doi:10.1109/SP54263.2024.00075. (preprint)
  7. ^ a b c Marlinspike, Moxie (5 May 2014). "Private Group Messaging". Retrieved 11 August 2025.
  8. ^ Albrecht, Martin R.; Dowling, Benjamin; Jones, Daniel (2025-05-04). "Formal Analysis of Multi-device Group Messaging in WhatsApp". Advances in Cryptology – EUROCRYPT 2025: 44th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Madrid, Spain, May 4–8, 2025, Proceedings, Part VIII. Berlin, Heidelberg: Springer-Verlag: 242–271. doi:10.1007/978-3-031-91101-9_9. ISBN 978-3-031-91100-2. (preprint)
  9. ^ "Google Messaging Layer Security: What it is and how it will improve security". Yahoo Tech. 2024-07-27. Retrieved 2025-09-04. (alternate URL)

Textbook

Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia

Kembali kehalaman sebelumnya