- logs
- improve functions
- maybe add salt to messages/keys
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
- Unix shell
- OPENSSL
git clone https://github.com/EfeAraz/RSA-Socket;
chmod +x setup.sh keygen.sh;
./setup.sh;
g++ ./src/server.cpp -o ./bin/server;./bin/server 8080;
example for localhost:
g++ ./src/client.cpp -o ./bin/client -lssl -lcrypto;./bin/client 127.0.0.1 8080 username;
- Beej's Guide to Network Programming
- man/tldr pages
- geeksforgeeks
- stackoverflow rsa encryption using keys
- Openssl docs
- communication protocols cpp implementations