Skip to content

Mikepicker/El-Gamal-Encrypted-Chat

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

El Gamal Encrypted Chat

Server / Client Unix chat implementation based on "El Gamal" Encryption Scheme. Extension of http://www.theinsanetechie.in/2014/01/a-simple-chat-program-in-c-tcp.html.

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:

./server
./client

Instructions

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 ;)

About

Simple Encrypted chat based on El Gamal encryption scheme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages