Skip to content

iamumutcan/end-to-end-encrypted-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

End-to-End Encrypted Messaging App

This app is a client app for end-to-end encrypted messaging. Messages are encrypted using a key shared between the sender and receiver. The key can be generated by users during a login process or shared in advance.

The app can receive text messages.

The app uses end-to-end encryption to ensure that all messages are transmitted encrypted. This means that only the sender and receiver can read the messages. Third parties cannot read or decrypt the messages.

Built With

  • Python

    • Flesk

    • Crypto

Systems Architecture

end-to-end

API Endpoints

Get Keys

  • Endpoint: GET /api/get_keys
  • Description: Generates a new private/public key pair.
  • Response Body:
       {
         "private_key": "string",
          "public_key": "string",
       } 

Encrypt Message

  • Endpoint: POST /api/encrypt_message
  • Description: Encrypts a message using the provided public key.
  • Request Body:
       {
         "private_key": "string",
         "message": "string"
       } 
  • Response Body:
       {
         "encrypt_message": "string"
       } 

Decrypt Message

  • Endpoint: POST /api/decrypt_message
  • Description: Decrypts an encrypted message using the provided private key.
  • Request Body:
       {
         "private_key": "string",
         "message": "string"
       } 
  • Response Body:
       {
         "decrypted_message": "string"
       }     

Usage

To use these endpoints, ensure the server is running locally. For example, with Flask, you can run the server using the command:

 python server.py

Replace server.py with the name of your Flask server file.

Version

V 1.0.0 (Beta)

This is the first version of the app. It includes the following features:

  • End-to-end encryption

  • Messaging system

  • Bug fixes

We plan to add more features in future versions.

About

Encrypted messaging app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages