JWA (@trust/jwa)

JSON Web Algorithm for Node.js and Browsers

The JOSE suite of specifications standardizes various mechanisms required for integrity protection and encryption of data structured and serialized as JSON. This package implements JWA for use in JavaScript applications.

Underlying cryptography is provided by W3C Web Cryptography API, available natively in browsers and via npm in Node.js.

Table of Contents

Security

TBD

Install

$ npm install @trust/jwa --save

Usage

Node.js

const { JWA } = require('@trust/jwa')

Browser

TBD

Develop

Install

$ git clone git@github.com:anvilresearch/jwa.git
$ cd jwa
$ npm install

Test

$ npm test        // Node.js
$ npm run karma   // Karma (browser)

API

TBD

Contribute

Issues

Pull requests

Policy

Style guide

Code reviews

Collaborating

Weekly project meeting

Pair programming

Code of conduct

Contributors

MIT License

Copyright (c) 2017 MIT Connection Science