@transmute/es256k-jws-ts
v0.1.3
Published
TypeScript Web Assembly Secp256k1 ES256K JWS and JWT.
Downloads
119
Readme
ES256K
This library is experimental / under development / not audited. Use at your own risk.
Install
npm i @transmute/es256k-jws-ts --save
Development
See package.json for complete list.
Node 12 Coverage Tests are ignored due to an issue babel.
npm i
npm run test
npm run build
npm run docs
For releases, see the root README.
JWS - JSON-LD Signature Details
signDetached
relies on rfc7797, the signature is over the result of createVerify data, not an encoded payload! This makes more sense when you consider that JSON-LD Signatures have a signature property, it would be redunant for that signature to include a base64url encoded copy of the object.