@coast-team/mute-crypto-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Mute-Crypto-Helper

Build Status install size Codacy Badge

Isomorphic API exporting helper functions for mute-crypto project. It is powered by Web Crypto API for the client side and by node-webcrypto-ossl for NodeJS. The documentation can be found here.

Install

npm install @coast-team/mute-crypto-helper

For NodeJS, node-webcrypto-ossl peer dependency is also required.

npm install node-webcrypto-oss

Usage

3 objects are exported by the API: asymmetricCrypto, symmetricCrypto and keyAgreementCrypto.

import { asymmetricCrypto, symmetricCrypto, keyAgreementCrypto } from '@coast-team/mute-crypto-helper'

Or

const { asymmetricCrypto, symmetricCrypto, keyAgreementCrypto } = require('@coast-team/mute-crypto-helper')

Tests

Run the test in a browser:

npm run test

Run the test with NodeJS:

npm run test-node

Generate the documentation

npm run doc

Package Sidebar

Install

npm i @coast-team/mute-crypto-helper

Weekly Downloads

10

Version

1.0.4

License

Apache-2.0

Unpacked Size

1.78 MB

Total Files

25

Last publish

Collaborators

  • conaclos
  • rigelk
  • berhu