rsa_chat's Introduction
@Author: ct95 <How does the program work> There are 4 files on the code repository. They are Rsa.java ChatServer.java ChatClient.java RsaCrack.java respectively. The Rsa.java is the basic blue print for any object uses RSA cryptosystem. The ChatServer.java and ChatClient.java are the client and server of this chat program. The RsaCrack.java is to crack a key using a brute force algorithm to decrypt an unknown user's ciphertext. <How to run this program> (1) open 2 terminals and ssh onto either minus/plus/ampersand (choose one and be consistant with it) (2) run server in one terminal and run client in the other. (3) follow the instruction shown on terminal, and you're good to chat. [Note: all your messages are RSA encripted, and all the incomoing messages are RSA-decrypted for you already] (4) if you'd like to crack a certain ciphertext. You need to run RsaCrack.java on another terminal and type in the required informaiton (i.e. the public key (e, c) and the ciphertext), then it will employ brute force algorithm to decrypt the ciphertext for you. <Details about this program> (1) The threaded-server runs on local host (i.e. ipv4 = 127.0.0.1).
rsa_chat's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.