@dmessenger/pcap

Private Chat Authentication Protocol used within dMessenger

Usage no npm install needed!

<script type="module">
  import dmessengerPcap from 'https://cdn.skypack.dev/@dmessenger/pcap';
</script>

README

PCAP

The Private Chat Authentication Protocol, is what allows one users to request a one-to-one private chat with another user within dMessenger. Users authenticate each other's dWebID (via dWeb's (UserSwarm) [https://github.com/dwebprotocol/uswarm.git)) and then exchange a seed which is used to encrypt their conversation. Conversations are distributed within a dAppDB over dweb://, but all data within the database is completely encrypted using the exchanged seed.

Install

npm install @dmessenger/pcap

API

Coming soon!

Example Usage

You can find example usage within dMessenger's Controller.