@masknet/encryption
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

@masknet/encryption

This package provides the ability to encrypt/decrypt Mask Network payload.

This package is designed with OCap and prepared to run under SES.

Decryption process

raw message (text or image)
|> Network specific decoding (NetworkID)
|> Standard Decryption

OCap requirements

  • Access to WebCrypto API

Payload parser

  • [x] v40 parser
  • [x] v39 parser
  • [x] v38 parser
  • [x] v37 parser

Payload encoder

  • [x] v38 encoder
  • [x] v37 encoder

Encryption & Decryption

  • [ ] Encryption
  • [x] Decryption

Other

  • [ ] Ephemeral encryption
  • [ ] P-256 support
  • [ ] ed25519 support

Readme

Keywords

none

Package Sidebar

Install

npm i @masknet/encryption

Weekly Downloads

65

Version

0.5.1

License

none

Unpacked Size

319 kB

Total Files

163

Last publish

Collaborators

  • jackworks
  • yisiliu