Simple Encrypted chat based on El Gamal encryption scheme
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

El Gamal Encrypted Chat

Server / Client Unix chat implementation based on "El Gamal" Encryption Scheme. Extension of

How to compile

Compile Server / Client separately:

gcc -pthread -o server server_chat.c
gcc -pthread .o client client_chat.c

Then start server and client in two different shells:



You can modify the numbers exchanged during the server/client handshaking inside the code (#DEFINE P ecc.). Be aware that numbers are stored in "long" variables, so try to avoid using very long digits.

Feel free to clone / fork / modify it ;)