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.
-
Python
-
Flesk
-
Crypto
-
- Endpoint:
GET /api/get_keys
- Description: Generates a new private/public key pair.
- Response Body:
{ "private_key": "string", "public_key": "string", }
- 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" }
- 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" }
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.
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.