@eropple/key-sealed-envelope
v0.2.0
Published
[](https://www.npmjs.com/package/@eropple/key-sealed-envelope)
Readme
@eropple/key-sealed-envelope
A TypeScript library for secure message sealing with multiple recipients. It's not a new idea, but I couldn't find a library that met my needs.
The payload is encrypted with a symmetric key (the Content Encryption Key, or CEK), which is then encrypted with a set of all recipients' public keys. The envelope is canonicalized and signed.
Features
- RSA and EC support
- Multiple recipients per message; sealer classes
- Payload commitment ensures all recipients decrypt identical content, preventing message substitution attacks
- JWKS key management
- Binary and string payloads
Installation
npm install @eropple/key-sealed-envelopeGetting Started
In lieu of trying to explain things:
