webcrypto.dev-examples

Overview

2key-ratchet is a library for secure communication between two parties over an unreliable network, based on the Double Ratchet protocol used in Signal. It provides forward secrecy and protects against message replay attacks.

npm npm (scoped)

Samples

Sample Description
Messaging Demonstrates how to create an encrypted messaging channel using 2key-ratchet.