Short example, encrypt text messages between two parties on the web using Web Crypto and React. The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
npm install
npm start
npm run build
npm test
open local browser at http://localhost:1234 check the code in test.tsx
Lots of crypto example code in this project is copy pasted from this wonderful blog entry https://getstream.io/blog/web-crypto-api-chat/