π Encryption and Security
π End-to-End Encryption for Messages: Next-Level Security
Digital communication security is more important than ever. With rising threats to online privacy, itβs crucial to ensure that only the sender and recipient can read exchanged messages.
With Evegramβs latest update, messages will be protected through end-to-end encryption (E2E), preventing anyone β including us β from intercepting or accessing private conversations.
How Does Encryption Work in Evegram?
We have implemented a system based on Elliptic Curve Diffie-Hellman (ECDH) with X25519, using libsodium, one of the most trusted cryptographic libraries. Hereβs how it works:
β ECDH X25519 key pair generation β Each user generates a public and private key pair.
β Public key sharing via QR code β Users can display their public key in QR code format for easy key exchange.
β QR scanning to obtain the peerβs public key β The recipient can scan the senderβs QR code to retrieve their public key.
β Derivation of a symmetric key for AES-256-GCM β Using the Diffie-Hellman protocol, a shared key is generated to encrypt messages.
β Secure encryption and decryption β Messages are protected with AES-256-GCM, one of the strongest encryption standards available.
β Secure key storage β Private keys are stored in a secure area of the device, protecting them from external threats.
Why Does This Matter?
This system ensures that messages can be read only by the sender and recipient, with protection that prevents any interception. Unlike other messaging apps that rely on central servers, Evegram uses a fully decentralized approach to key management.
Now, two devices can easily exchange public keys via QR codes and start sending end-to-end encrypted messages with total security!