GithubHelp home page GithubHelp logo

cryptography-client-server's Introduction

cryptography-client-server

program to establish a connection that sends secure application messages from a client to a server using the Python

packages

pip install rsa
pip install socket

Order of opperation:

  1. Keys must be generated a) run Client Side/client-rsa-gen.py b) run Server Side/server-rsa-gen.py NOTE:

    • Private keys are stored in each directory corresponding to the client and server.
    • All public keys generated are in the Public Keys/ directory
    • Every key file will be stored as a .PEM file, and will NOT need to be regenerated after every file exchange
  2. File transfer scripts must be run in order a) run server.py b) run client.py

  3. The message transmission works both ways, but in sequence i.e client -> server -> client -> server ...

    SENDING

    • signes the digest with the clients private key
    • uses the servers public key to encrypt the clients secret key

    RECEIVING

    • decrypts both the message and digital signature with the servers private key
    • verifies the digital signature with the clients public key
    • prints the message in terminal

cryptography-client-server's People

Contributors

alexturner2000 avatar

Watchers

 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.