Code Monkey home page Code Monkey logo

encrypted-p2p-file-sharing-system's Introduction

DESCRIPTION:

The Project is set up using an encrypted P2P paradigm, which includes a Central Index Server to gather meta-data such as Peer ID and the Peer on which the material is stored, as well as the file titles and location. In this paradigm, Peers interact with the Central Index Server to exchange files, search for files, and find out which files are on other Peers and are accessible for download. This paradigm states that all peer-to-peer file transfers must always be done through a direct data connection established by a Socket between the peers sending and receiving the file.

DESIGN : The P2P file sharing system was created with the P2P architecture and its supporting protocols in mind. Java is utilized to implement the entire design, and Sockets and Threads are two of the abstractions that are employed. The P2P file sharing system has two components

  1. Central Index Server: All of the peers that register with this server get their content indexed. It also offers the peers a search function. The Central Index Server offers the Peers the following Interfaces: ❖ A peer may use the Registry (peer id, filename) to register its files with the Central Index server. After then, the CIS creates an Index for the peers. ❖ Search (filename) – this procedure searches the index and gives the requestor a list of all matched peers. ❖ Create - used to create new file and register these File IPs and attributes in Database

  2. Peers: The peer performs both client and server roles. Using "lookup," the user communicates the filename as a client with the indexing server. A list of every other peer that has the file is then returned by the indexing server. The client then establishes a connection with the user's chosen peer and downloads the file. The peer acts as a server, waiting for requests from other peers and sending the requested file in response.

encrypted-p2p-file-sharing-system's People

Contributors

aayushkumarjvs avatar freesr avatar shanuma781 avatar varshitha05 avatar

Stargazers

 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.