Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/galeone/jsc
jSC - Java Secure Chat. A criptografically secure chat written in Java.
https://github.com/galeone/jsc
Last synced: 5 days ago
JSON representation
jSC - Java Secure Chat. A criptografically secure chat written in Java.
- Host: GitHub
- URL: https://github.com/galeone/jsc
- Owner: galeone
- Created: 2014-11-25T16:10:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T16:10:41.000Z (about 10 years ago)
- Last Synced: 2024-10-30T06:27:33.863Z (about 2 months ago)
- Language: Java
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jSC - Java Secure Chat
======================jSC is a end-to-end chat application, written in Java.
# How it works
One user act as a server. Listen on localhost on a selected port.
The other user act as a client: connect to the address of the of the server on the selected port.
# Message sequence
1. Client send its RSA public key to the client
2. Server send its RSA public key to the client
3. Server generate AES seed and sent it to the client, encrypted with the client public key. Server setup AES cipher using the generated seed as IV.
4. Client receive AES decrypt this Seed using his private key and inizialize AES cipher with the received seed.
5. Successive communications are encrypted using AES, in CBC mode, using PKCS5 padding standard.