Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PTTP: Peer talks to Peer based on IPFS, no censorship, no centralized, private and secure message channel, DH exchange key, AES-192-CBC symmetric encryption.

Notifications You must be signed in to change notification settings

realdennis/PTTP

Repository files navigation

PTTP

Peer Talks To Peer, based on IPFS, CLI tool. It's a PoC of the p2p-secure chat, what we do is the following stuffs:

  1. Deffie-Hellman exchange the session key
  2. Using session key do the AES-192-CBC encrypt for the message text
  3. Enjoy the non-censored & secure chat room.

demo

Note

Currently it's un-stable, and only test in MDNS mode, and the relay mode is under developing --relayCircuit, so you guys can try to use it when you have a public IP.

Install

$ npm install pttp -g

Usage

Create room

$ pttp create 
# Run the above command in other machine:
# $ pttp join hDQzUKiovU/K4Weixl0EeLupJpN2U5tb

Join room

$ pttp join hDQzUKiovU/K4Weixl0EeLupJpN2U5tb

About

PTTP: Peer talks to Peer based on IPFS, no censorship, no centralized, private and secure message channel, DH exchange key, AES-192-CBC symmetric encryption.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published