C++ secure chatting application over sockets that uses Deffie Hellman for exchanging session keys, Elgamal Digital Signature for signing key exchange messages and AES for actual messages encryption.
- you have to install python 3 version or higher
- install this package 'pip install pycryptodome'
- install this package 'pip install random2'
- in Application Directory, run a CMD window
- run the python script Runner.py using "python Runner.py"
- this will be enough to open one instance of server and one instance of client
in case the script didn't work you can do the following
- in Application/binaries directory open two different terminals
- to open a server run "SecureChat.exe config_server.txt"
- to open a client run "SecureChat.exe config_client.txt"
in case you want to test another set of keys, a random prime number generator is provided
- generate a random prime using "RandomPrimeGenerator.py" by running the following command "python RandomPrimeGenerator.py number_of_bits"
- in Application/binaries there are two text files "config_server" & "config_client" you can replace the current keys with any prime number you want
