Assignment 1
Assignment 1
NAME:UTKARSH DUBEY
REG NO: 2023CA109
1. Signal Protocol
WhatsApp uses the Signal Protocol, developed by Open Whisper
Systems, as the foundation for its encryption. This protocol combines
several advanced cryptographic techniques to ensure security and
privacy.
2. Encryption Process
Double Ratchet Algorithm: Ensures forward secrecy by generating new
encryption keys for every message.
Key Exchange (X3DH - Extended Triple Diffie-Hellman): Establishes a
secure communication channel during the initial connection.
AES-256 (Advanced Encryption Standard): Used for encrypting
messages.
HMAC-SHA256 (Hash-Based Message Authentication Code): Ensures
message integrity.
ECDH (Elliptic-Curve Diffie-Hellman): Facilitates secure key exchanges.
3. Forward Secrecy
Each message has a unique encryption key. Even if one message key is
compromised, it does not affect past or future messages.
4. Asynchronous Messaging
WhatsApp stores undelivered messages temporarily on its servers in an
encrypted form. These messages are deleted once delivered.
5. Authentication
The protocol uses identity keys, ephemeral keys, and session keys for
secure authentication between users.
1. End-to-End Encryption
WhatsApp uses end-to-end encryption by default for all messages, calls,
and shared media. This ensures that only the sender and receiver can
access the communication, preventing third parties (including WhatsApp
itself) from reading or intercepting messages.
2. Two-Step Verification
WhatsApp provides a two-step verification feature for added security.
Users can enable a 6-digit PIN that must be entered when registering the
app on a new device, reducing the risk of unauthorized account access.
3. Biometric Authentication
WhatsApp allows users to secure the app with fingerprint or face
authentication (if supported by the device). This ensures that only the
authorized user can access the app.
4. Disappearing Messages
The disappearing messages feature lets users send messages that self-
destruct after a set period (24 hours, 7 days, or 90 days). This is helpful
for maintaining privacy in sensitive conversations.
7. Encrypted Backups
WhatsApp now offers end-to-end encrypted backups for messages
stored on Google Drive or iCloud. Users can set a password or use a 64-
digit encryption key to protect their backup data.