Skip to content

EfeAraz/RSA-Socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO

  • logs
  • improve functions
  • maybe add salt to messages/keys

Description

C++ Project that uses OpenSSL's cryptographic functions to encyrpt/decrypt messages and send/recieve messages using sockets.

You can use your existing OpenSSL compatible public/private key pair or generate a new one with keygen.sh

Dependencies

  • Unix shell
  • OPENSSL

Setting up for the first time

install openssl from your package manager

git clone https://github.com/EfeAraz/RSA-Socket;  
chmod +x setup.sh keygen.sh;  
./setup.sh;   

Server :

g++ ./src/server.cpp -o ./bin/server;./bin/server 8080;

Client :

example for localhost:

g++ ./src/client.cpp -o ./bin/client -lssl -lcrypto;./bin/client 127.0.0.1 8080 username; 

References:


This project is licensed under the terms of the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published