How to use the jose.JWE.decrypt function in jose

To help you get started, we’ve selected a few jose examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github auth0 / express-openid-connect / lib / appSession.js View on Github external
function decrypt (jwe) {
    return JWE.decrypt(jwe, keystore, { complete: true, algorithms: [enc] });
  }
github panva / node-oidc-provider / lib / helpers / jwt.js View on Github external
static async decrypt(jwt, keystore) {
    return JWE.decrypt(jwt, keystore);
  }
}

jose

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes

MIT
Latest version published 9 days ago

Package Health Score

94 / 100
Full package analysis