Giter VIP home page Giter VIP logo

vvvvcp / cryptographywithtcp-ip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chiragvaghela10/cryptographywithtcp-ip

0.0 2.0 0.0 184 KB

This repository is about transferring the secure data from one computer to another with the help of socket programming using client-server architecture. The data will be secured by implementing RSA(cryptography) Algorithm. For simplicity only 64-bit security is used unlike real implementation which uses 128-bit to 256-bit security(used by banks,mililtary etc.). Client request for the file to server, with its name and a public key, generated by client itself. If the file is available to the server it will encrypt it with public key and send 'encrypted file' instead of original file to the client. Server in turn will decrypt the received 'encrypted file' with its own private key.

Makefile 13.00% C 87.00%

cryptographywithtcp-ip's Introduction

CryptographywithTCP-IP

This repository is about transferring the secure data from one computer to another with the help of socket programming using client-server architecture. The data will be secured by implementing RSA(cryptography) Algorithm. For simplicity only 64-bit security is used unlike real implementation which uses 128-bit to 256-bit security(used by banks,mililtary etc.). Client request for the file to server, with its name and a public key, generated by client itself. If the file is available to the server it will encrypt it with public key and send 'encrypted file' instead of original file to the client. Server in turn will decrypt the received 'encrypted file' with its own private key. Key Features and install instructions:

  1. You can have client at say system-1 and Server at say system-2.
  2. You can create executable by just moving to the folder and using simple 'make' command: i.e.: $ cd ~/client/ and then $ make ,same with server, move the server folder $cd ~/server/ and then $ make . 3.Next time you make any changes in the source files or header files while expermenting just run 'make' command it will handle all the hurdle of compilation but make sure 'Makefile' is not altered or removed.
  3. Run 'server' excutable at system-2 with port address you want to assign for transmission. i.e.: ./server 4444
  4. When server is established, Run 'client' executable on system-1 with ip-address of server, filename of requested file and port number used by server. i.e. if we consider client and server are on same system then ip would be 127.0.0.1: ./client 127.0.0.1 message.txt 4444
  5. Bingo there will be a file with filename you requested in your 'client' folder.

cryptographywithtcp-ip's People

Contributors

chiragvaghela10 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.