{"_id":"jose-jwe-jws","_rev":"17-9139847e232d185c51fae200165fd592","name":"jose-jwe-jws","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","dist-tags":{"latest":"0.2.2"},"versions":{"0.0.3":{"name":"jose-jwe-jws","version":"0.0.3","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"gitHead":"d72a03ef95de2deddb39fff432cdb1fc6e72cff4","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose","_id":"jose-jwe-jws@0.0.3","scripts":{},"_shasum":"ba6e456b7a58c97f96207258064bcf67cc25c3c0","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"shasum":"ba6e456b7a58c97f96207258064bcf67cc25c3c0","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.0.3.tgz","integrity":"sha512-1oP8J7KHWi9MrpFxrfNxqXO3GE+GwQgQrkd+bovAlZJJ+Uir55nAdGqixb1E/zK4rBBZ2GDAITMxIk07OU6MoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFb1Ww1Ny4yNZNCN6pJWIUwlkOzr/cW7ugRimI8WdbCWAiEA6PERzUsKo8rsmDkOmTe6BfbIl+gA3nWjj9uRYNXPdow="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"directories":{}},"0.1.0":{"name":"jose-jwe-jws","version":"0.1.0","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","gitHead":"62535002eae6ef9675fe89c29c69b6b56b78330d","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.0","scripts":{},"_shasum":"42a651d2e292323b2db52a61d73cecd6cc30c854","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"dist":{"shasum":"42a651d2e292323b2db52a61d73cecd6cc30c854","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.0.tgz","integrity":"sha512-qs2QY//vXf3PvGPt48rZirQoM+GXnM9UDB4uJsDFBZyx5HNn9jKaFu/CnFjOZn7WzzFq38yU+P6ncjfVa2OH4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJlTFkL9Xo/XlWndYqTU8zSnWNpH5oY2C4s2dBy9kQHAIgZJHvOqG4ctTRHwgFRyApmwDtxNTxyl1Ud1W+Bhbfges="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jose-jwe-jws-0.1.0.tgz_1460417580103_0.3825472027529031"},"directories":{}},"0.1.1":{"name":"jose-jwe-jws","version":"0.1.1","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","gitHead":"259e1ad91ce2453e9ad77501ebead4d4386b0274","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.1","scripts":{},"_shasum":"9c6e0517c60ec1be9f44951bff257ec3bca8b9aa","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.12.14","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"shasum":"9c6e0517c60ec1be9f44951bff257ec3bca8b9aa","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.1.tgz","integrity":"sha512-vU4ML5oZLilZNMeBH6o6TgDhIxuEj1INc9X6/zb7eeMLzs5BkN9yHaQSEPpV4Jjo65rdQaa0IHsu4TWFM7IOKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnI7StAf3TygdorWTN5iWjdJsuUDa5x89pX2DkRosmYAiBdzZsErSZqQ+wczBA617yLjOPPT2LRgfg/SpGGtd9rAw=="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jose-jwe-jws-0.1.1.tgz_1473199154962_0.2922928147017956"},"directories":{}},"0.1.2":{"name":"jose-jwe-jws","version":"0.1.2","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","gitHead":"c86987caf296758d992056d5290edbdaa7dcdfbb","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.2","scripts":{},"_shasum":"ed62694968f730926d5b39d449dac4aa482779f8","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.12.14","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"shasum":"ed62694968f730926d5b39d449dac4aa482779f8","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.2.tgz","integrity":"sha512-1uaxGl8d2dccJpLwmEmDJJ5Al3Mf1cgxCk4y/Mu2BdIgpZ99I/lI0slv8h/ZeyMMElucp/jkxDPMVxNpBbfuew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxzdNpaV/oXZhN6LBbRjm5HtL+a44upkogyQESPn7PAAIhAPotoS9Y7JYsLO1vB3lWd1EB7098gbTeff9NgV41gAQw"}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jose-jwe-jws-0.1.2.tgz_1474049383995_0.8387656309641898"},"directories":{}},"0.1.3":{"name":"jose-jwe-jws","version":"0.1.3","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","gitHead":"e505e6be17d7c3fcbf00474a5e4db14c76bb7d28","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.3","scripts":{},"_shasum":"d4ef85c62a2da037c3d0836033c99741eaf02f2f","_from":".","_npmVersion":"3.10.7","_nodeVersion":"0.12.14","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"shasum":"d4ef85c62a2da037c3d0836033c99741eaf02f2f","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.3.tgz","integrity":"sha512-OpCUroXd1Bsd60krNyBXC34ljzDCBIZ3A01eHaZPum+WN9RngDeu3N4CwDjDGw0Snthdq3OOTIUI9PSWo9HQYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDC7ALoJl5bm82rmzQOY1TaRN3jM8JNR7sqNC3n1aIY1gIgK3U61vax4F3Q5TkmTE4CRg4KzoMq4NZDApaaE6vmzWM="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jose-jwe-jws-0.1.3.tgz_1477426131861_0.2792010309640318"},"directories":{}},"0.1.4":{"name":"jose-jwe-jws","version":"0.1.4","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","gitHead":"e505e6be17d7c3fcbf00474a5e4db14c76bb7d28","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.4","scripts":{},"_shasum":"709597eb82c99e1f83d41def65d3d584123a0b3b","_from":".","_npmVersion":"3.10.7","_nodeVersion":"0.12.14","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"shasum":"709597eb82c99e1f83d41def65d3d584123a0b3b","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.4.tgz","integrity":"sha512-nohpk6iqnqbOG6OrffdnAe2d9FlQO459NvXtT/uDXY2rUcSJ8RtYHqZ+xDYMm5JyQ+PzGyIHw+7kj9a1QoynPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXHCEdHtPkeGeZ3JKtBqtbD91VI94l61LzxYNj7xjHCAiAmi+KY8YnahWHH1K8Fun2FuTMo1z0b37QTC6dgMWlk2Q=="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jose-jwe-jws-0.1.4.tgz_1477426178392_0.4715070042293519"},"directories":{}},"0.1.5":{"name":"jose-jwe-jws","version":"0.1.5","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"devDependencies":{"coveralls":"^2.11.1","grunt":"~0.4.1","grunt-contrib-concat":"^0.5.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-karma":"^0.9.0","grunt-karma-coveralls":"^2.5.3","karma":"^0.12.28","karma-chrome-launcher":"^0.1.5","karma-coverage":"^0.2.7","karma-qunit":"^0.1.4","qunitjs":"^1.15.0"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","gitHead":"a94f18a7d462bdc5db96ce9cc35d0c3cd96126d3","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.5","scripts":{},"_shasum":"83cad860589851a90ad376269b309585c5c2ee66","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"shasum":"83cad860589851a90ad376269b309585c5c2ee66","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.5.tgz","integrity":"sha512-n58GxD5o5mhTaW8U015cvNUEAi3X9b2LmlVQk09muoiASpHjbd6DjYSAtv1rf2rLUBmM4TITiVcYN0N6IaTgUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp2FWuJnu3DtYMBfk3eV+Yneu9mMcWyVO4dxSSdH+G1QIhALkpT/IqszpgD5mS5N1Y3q8yb4tv73NPPJTJoH4P6TVb"}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jose-jwe-jws-0.1.5.tgz_1495303458735_0.2914330577477813"},"directories":{}},"0.1.6":{"name":"jose-jwe-jws","version":"0.1.6","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"scripts":{"build":"grunt"},"devDependencies":{"coveralls":"^2.13.1","grunt":"~1.0.1","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^3.1.0","grunt-karma":"^2.0.0","grunt-karma-coveralls":"^2.5.4","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-qunit":"^1.2.1","qunitjs":"^1.23.1"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose-commonjs.js","dependencies":{},"gitHead":"066adf585b227c81ad110794de0ba923e9df4463","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.6","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"integrity":"sha512-sZgrf5u15NmfiRAy3TAzQkIDsbXJ4zE11/rRTbQlGNFFy57u3B98U9JwH864+WfWM8BuJPqyCDDfDJJXUdWhiw==","shasum":"ecf4a4b8c5475ee54194fb6b3c6fa261d907f0f3","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExDiH8T8o8Cq0+GXgWGNIgpcJvolEWKzm+ULg8bDga6AiEAj+9KjdRMhIx6yuf83XWTJTwC+h84MNOhmgdUHXhViGY="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jose-jwe-jws-0.1.6.tgz_1508175749259_0.9593006805516779"},"directories":{}},"0.1.7":{"name":"jose-jwe-jws","version":"0.1.7","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"scripts":{"build":"grunt"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@webpack-cli/init":"^0.1.1","babel":"^6.23.0","babel-core":"^6.26.3","babel-loader":"^8.0.4","babel-plugin-syntax-dynamic-import":"^6.18.0","coveralls":"^2.13.1","grunt":"~1.0.1","grunt-contrib-concat":"^1.0.1","grunt-contrib-jshint":"^1.1.0","grunt-contrib-uglify":"^3.1.0","grunt-karma":"^2.0.0","grunt-karma-coveralls":"^2.5.4","grunt-webpack":"^3.1.3","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-qunit":"^1.2.1","qunit":"^1.0.0","qunitjs":"^1.23.1","terser":"^3.14.1","uglifyjs-webpack-plugin":"^2.0.1","webpack":"^4.20.2","webpack-cli":"^3.1.1"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose.min.js","gitHead":"bcf6fb39aa49cd1b5a180caf4961a592da3c116c","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.1.7","_npmVersion":"6.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"alokmenghrajani","email":"alok@squareup.com"},"dist":{"integrity":"sha512-R2Kppec2vbCcGblCAbshca3Ib0W+x2ZmRppD/IgjcAMEkuBJif2by8oTSFz5GZXp+fWAQ3l9AGMFGmMMR4ff1w==","shasum":"cdf3029ecc728bead33f97969c02c7e9da59c203","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.1.7.tgz","fileCount":34,"unpackedSize":318696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcb37uCRA9TVsSAnZWagAADIwP/i5H2klHtAqEsqAtPNc6\nL/orfKsFW05DuKmOORy7dSygFmsR84pdCtuVcW9kDiIvGGs3p7du2RgdQnXZ\n9iRGaC228pxztCNDlvACXjK/0DxjUf4hcmKPNnt9SfJwlPKK+w2F3uIdGwh7\nfQedH5NMmyngnBYfykKc38se2fcNb9vOyv5Nn6DOiK0B84eOZQS217B8gnAR\nMWKMFSx6f0u7mI3RFUyGVado8wX35RZ7LhtCNGYBX9nu8xQAbXBP4W7taSOT\nLHvhtQtKH+kGrZowPycGoqD4XTJ4wuWCk6/N3Udfeo6taBLYzNN7yrs9QpGv\nim15coN9Ro6M9HZ0s5VhsoTfqVwnGesSrs7zXWUjiiObDTWNHFRZNkdubFpl\nS3s2KopatxmWyIRzcTSsxVeRRQMzRbINs83BKBUDMLEGJ3WOGkqk1kt/tVvj\n6uPPJ3QkR7rDpCIWMAW1Fvn65HJnA479GqqDXvzpvq0HQZ+EYQGMgML/sgi1\nS7ee4ydwhdFzrGk3RH2RCIZchDyxq4H/JowVEsfWGgiAIVvPOijkpqv1TH30\noB0X4KGpbTxrWkUar26yRR6o2zSn27zH1YCSKXupZfyQe5iCucWXRrggz4mc\ngihbD3wfIcM4CNsrIXzypu6xR03TNEQcFM0esDsd6KyW7xBzY7k74rHGqD9M\ne/dq\r\n=Ao3a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJic+mXG+NEsn/KOqX6fgZC5z59EQPLA1YDeafmiHjjAiBxrnn9g8q31VJ4Als8wSKrOhVMSGKiUONwqOuk/wrJGg=="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jose-jwe-jws_0.1.7_1550810861628_0.7910800981080026"},"_hasShrinkwrap":false},"0.2.0":{"name":"jose-jwe-jws","version":"0.2.0","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"scripts":{"build":"grunt","lint":"eslint lib --fix","test":"jest"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@webpack-cli/init":"^0.1.1","babel":"^6.23.0","babel-core":"^6.26.3","babel-jest":"^24.8.0","babel-loader":"^8.0.4","babel-plugin-syntax-dynamic-import":"^6.18.0","coveralls":"^2.13.1","eslint":"^6.0.1","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jest":"^22.13.5","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","grunt":"^1.0.4","grunt-contrib-concat":"^1.0.1","grunt-contrib-uglify":"^3.1.0","grunt-eslint":"^22.0.0","grunt-karma":"^2.0.0","grunt-karma-coveralls":"^2.5.4","grunt-run":"^0.8.1","grunt-webpack":"^3.1.3","jest":"^24.8.0","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-qunit":"^1.2.1","qunit":"^1.0.0","qunitjs":"^1.23.1","terser":"^3.14.1","uglifyjs-webpack-plugin":"^2.0.1","webpack":"^4.20.2","webpack-cli":"^3.1.1"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose.min.js","gitHead":"f6e74a34a118b8f50ef04da5b64fc956fc85edde","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.2.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-erQ6m4d2CLj0bb5IJ+12iQutZ6kPK6KApBf/4/UGDlqvWqwT9EnBJZqpcYJGp6F5ozWtjkzysBiTxGgjO4R96A==","shasum":"2cbf5d185a62be3bd6df7d2d77dfb173a4f5bfb4","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.2.0.tgz","fileCount":35,"unpackedSize":579381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdN8B0CRA9TVsSAnZWagAAM9kQAJi3ahdvQY4AoPAinnI6\n6TdtMd4VILJCBibE50zQQLxMBIVYFiQ8rCKkeLhc1AZ6YyfS81YOuIRW0hX8\nPRWndKYpMAvLm/YTCQuzLUlXIXilE6EvYZmrtmkplsDiI6XpOuPZXaW+yx7i\nJZShq7x4nC7CJE8eI3ms/cW2Bz8RO4mMimTw5zocbJtVpzDWgcrjaPiuUPb8\n+TAzS/FCiiQqpBW4TGhMuNzUHTNVzRfdrEt77s5sb/aPadihn+R2V0zb8P8d\nKqd3RQs0atKIMFrYd+SAYdK4lETYVQ1X1cXCGmx0H8Ew4i0SijsFn14PXFFa\n2BRhvoSo6Rl3md+ksWSXELyv6oEcNNsyfBtEFNXpKBuLLgexNcD1sOzgfa1x\n8fF2j685pv8EBqMIgqDmzNaGCp8pTLN5vOdfE04lEN3iiE4vQ8Oa+XDj+ZJd\n8haIQZBiefD3mEdYH1VWkFb8QXS2iwJb6vPyi/j3w4gd/kDYLxDek8VamuJK\nB6E9cThNKbilSaner5NI8Puq0PiueKf0qLa/FL6SCiAYiQpVynYV0TN3R7T6\nuE1VyQnj7CBVqrgYYQgddvxx6GFoBEIj34SNjPtKBLMsoabanizephjTxa+F\nZmzylEITMznlb9M3cG/9tul9FVVlQJzaqtXIRrihkmpEtgKkz0LFPYtQ0s/T\n1u/I\r\n=efJR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG3gyeaut98Z8uH+1DM5eRglQaoHwNAwvjOSxa1E0BZ+AiEA3eEmn+cgmkKnFn4PeM0nv0f3gh4Cl2f7Y5wHu3FDFHo="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmUser":{"name":"matahwoosh","email":"mbyczkowski@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jose-jwe-jws_0.2.0_1563934835763_0.04190596609770991"},"_hasShrinkwrap":false},"0.2.1":{"name":"jose-jwe-jws","version":"0.2.1","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"scripts":{"build":"grunt","lint":"eslint lib --fix","test":"jest"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@webpack-cli/init":"^0.2.2","babel":"^6.23.0","babel-core":"^6.26.3","babel-jest":"^24.8.0","babel-loader":"^8.0.4","babel-plugin-syntax-dynamic-import":"^6.18.0","coveralls":"^3.0.5","eslint":"^6.0.1","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jest":"^22.13.5","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","grunt":"^1.0.4","grunt-contrib-concat":"^1.0.1","grunt-contrib-uglify":"^4.0.1","grunt-eslint":"^22.0.0","grunt-karma":"^3.0.0","grunt-karma-coveralls":"^2.5.4","grunt-run":"^0.8.1","grunt-webpack":"^3.1.3","jest":"^24.8.0","karma":"^1.7.1","karma-chrome-launcher":"^3.0.0","karma-coverage":"^1.1.1","karma-qunit":"^1.2.1","qunit":"^2.9.2","qunitjs":"^1.23.1","terser":"^4.1.2","uglifyjs-webpack-plugin":"^2.0.1","webpack":"^4.20.2","webpack-cli":"^3.1.1"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose.min.js","gitHead":"2c9f921da54990fd560572db03e7dacfa7166162","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.2.1","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-8typwW9Bpdys6pqF7A6i9Zki66FIKrgDJk35YoZ/MWG5WPUXNkKzrIFVCCWHjbH0Wg6Sa8qwcbKu1NDTSSqV1g==","shasum":"fcf9b34c979d07e059f573637a9ff144a9f5c774","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.2.1.tgz","fileCount":35,"unpackedSize":581083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTOyaCRA9TVsSAnZWagAAbkUP/1V/T01suUQcOF345frm\ndYVf4tWetVOoVHMdnuvtgs9Y41BAhBZwsVO+8zIEy08mTOa3k/mglGC6c2Lc\n3zAinvXBYy9CR4DnxSoi7BUzrGmQqaH5ybB/VEpTztwA3bS7V4Tumv5OYpSY\naTXrkedIRHqax6SyTd+e+hCYnK926GeKP/76FCbiVFNBlGbsNDrTQhSaUBbm\nsTIy2VCpmSzoNkF4UWjPr4OAsVdelr8wvAvveGs4yQY/7c2YjK1mUXmOoIyA\n2QNKGTxdWYjhY/5FC2bxYNtKCrFcwG/jVjOgpKrGa5sHZ7ZUsfpewqdzoLUl\nX/y5X+wQoc+uM0F1DUb0CophSHldICyJPpF7wcMDpA7usdfro5uI4996hDuq\nQXSOrxZJSMTV+6cWqZzMH9+4M8jBwTjOpJzTd0qb84gxPyELQTP4pQN2+96g\nU+DJ19bfOipblcsxUIRH5+DN7+EGfv9YohKr2kRWFDI5MUczN6U8FxVL+ByZ\nd7v03WQ/G9Bcre1U6K2TDgELzEO0Nglk1Xy8X6iyx+4GIqWHwgkXqyqBmkjQ\n/Lp+0TGNZvD0e1Ci1szTxgk0Gq33FaCZO0KHXQMae89ALWesmbNRnXG10ft3\n3jpH0TRTdMmLXtYXXAlnhReDiO7i5wDAQPtjGXt3VwoSGhmPfFUWdSGEroJt\nwWMT\r\n=mgp0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtW4/AcJc26CLHEhMV2Un9guXkgH/JtZKFcS+al5fSkAiAa3gRAPS0kNcU7j62XSWFDvPj+J8SYssdEtrsuqRIcZg=="}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmUser":{"name":"matahwoosh","email":"mbyczkowski@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jose-jwe-jws_0.2.1_1565322393501_0.8684938770826833"},"_hasShrinkwrap":false},"0.2.2":{"name":"jose-jwe-jws","version":"0.2.2","description":"Library to encrypt and decrypt data in JSON Web Encryption (JWE) format and to sign data in JSON Web Signature (JWS) format. Leverages Browser's native web crypto API.","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"scripts":{"build":"grunt","lint":"eslint lib --fix","test":"jest"},"devDependencies":{"@babel/core":"^7.4.5","@babel/preset-env":"^7.4.5","@webpack-cli/init":"^0.3.0","babel":"^6.23.0","babel-core":"^6.26.3","babel-jest":"^24.8.0","babel-loader":"^8.0.4","babel-plugin-syntax-dynamic-import":"^6.18.0","coveralls":"^3.0.5","eslint":"^6.0.1","eslint-config-standard":"^14.1.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jest":"^23.1.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.0","grunt":"^1.0.4","grunt-contrib-concat":"^1.0.1","grunt-contrib-uglify":"^4.0.1","grunt-eslint":"^22.0.0","grunt-karma":"^3.0.2","grunt-karma-coveralls":"^2.5.4","grunt-run":"^0.8.1","grunt-webpack":"^3.1.3","jest":"^24.8.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.1","karma-qunit":"^4.0.0","qunit":"^2.9.2","terser":"^4.1.2","uglifyjs-webpack-plugin":"^2.0.1","webpack":"^4.20.2","webpack-cli":"^3.1.1"},"typings":"jose-jwe-jws.d.ts","main":"dist/jose.min.js","gitHead":"857e31bee8b807042b21867a33da286d1f07ff9b","bugs":{"url":"https://github.com/square/js-jose/issues"},"homepage":"https://github.com/square/js-jose#readme","_id":"jose-jwe-jws@0.2.2","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-z3AkKwzGYRaAiroC1ozylHD/J0bsyrL7WZuUIZvbO8gPKYT+MQ+mvZYiiLFIglEWHE07EIA7yjYI6TUdN9YHJw==","shasum":"c68b99cdacb7bffa774a6672c720243606e53ded","tarball":"https://registry.npmjs.org/jose-jwe-jws/-/jose-jwe-jws-0.2.2.tgz","fileCount":36,"unpackedSize":586378,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHNk0CRA9TVsSAnZWagAA6B0P/2ZExh0n3z/TjqL66YGM\nFCLxgnro5BjCaqz5eFQgVNdI9CvnbVKJDOvMqvYS1vdW65ZTcjut66XVqysC\niP/F+zsDtJwIsIu0JUMts+zSS/4RpC8hPgFB7VJAVjT+uo2QJijGUZYdl5IY\nRPshO2qQXkNUDQXhc0hhdfdXEwNa9f2kfGx7B+FN4MuuZIqZxXdxojr3lT4A\nca+BWUhYr3dzymNZYSyZMitqYs+0mmtRJq5OEyoQiznsFdEXEjL5yGaq1Z29\n+ocanObreJyWTjYnjhq5+J9QhBYFsoEQld/tZ199dpdXv010c39Byvl4+sn1\n6Q+9d9bFKi90YAcI9lfG58vGsrCD7YHlDaUTBCeCeJMWI1a5vmZ2ZjSqPoOm\nBNGEGHtLC2VeTYJjOpK1g1y8pwo8hXiCG4GTHMgmN/zaBvlb5ni060X2KoCA\nSGv5G2cJoZROYhNx8C5aiSsuRxcmeMRyDzdeusF9NZqnP8N4M0q6FWVkrK3O\nn3yCTV9geM63ctAu7S1aqm3cKmFuq7SwcG06zwBOqAGPYTfSuimwb36BVbRb\nAmJtt77CjfU1nsIMgBZc3i5g7BG+7DP/ieQ/v08+Ul+hJSFTRS2Xz6ARF27n\nMFElQJDZgZ/cEe888nf9EomRjf/zj30BBHb5apSNHxeo3Mvw0whtLkRib+6S\niHTh\r\n=VCWr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHMHSyohgSjtc9ZwjrKetZIQHjn27K6nRm/jhWJzyXlwIhAJ7+fDU6HXci8RcWy7QFYG7LEoBogmcEgV88iV4faUkA"}]},"maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"_npmUser":{"name":"matahwoosh","email":"mbyczkowski@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jose-jwe-jws_0.2.2_1578948916439_0.7315421832865745"},"_hasShrinkwrap":false}},"readme":"Javascript library for Jose JWE and JWS\n=======================================\n\n[![license](http://img.shields.io/badge/license-apache_2.0-red.svg?style=flat)](https://raw.githubusercontent.com/square/js-jose/master/LICENSE)\n[![build](https://travis-ci.org/square/js-jose.svg?branch=master)](https://travis-ci.org/square/js-jose)\n[![coverage](https://img.shields.io/coveralls/square/js-jose.svg?branch=master&style=flat)](https://coveralls.io/r/square/js-jose)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\nOverview\n--------\nJavaScript library to sign/verify and encrypt/decrypt data in JSON Web\nEncryption (JWE) and JSON Web Signatures (JWS) formats.\n\nThe library can be used to implement RSA and EC based public/private cryptography as well\nas shared key encryption.\n\nBoth JWE and JWS are encapsulation formats which makes it easy to share\nciphertext and signatures between different platforms: data encrypted or signed\nin a browser can be verified or decrypted in Go, Java, etc.\n\nThe library uses compact representation. There is therefore no support for\nmultiple recipients in JWE messages. It should be easy to add that if needed.\n\nThe library partially supports extra headers.\n\nThe library uses the Web Crypto API, which is available in (recent browsers)\n[http://caniuse.com/#feat=cryptography]. As of March 2016, it seems +80%\nof users have some form of Web Crypto support. You can use the library on Node\nusing a [polyfill for WebCrypto](https://github.com/PeculiarVentures/node-webcrypto-ossl).\n\nThis code has been tested in Chrome 38 and is compatible with the [Golang\nimplementation](https://github.com/square/go-jose).\n\nJWE and JWS have been standardized under:\n* https://tools.ietf.org/html/rfc7516 JSON Web Encryption (JWE)\n* https://tools.ietf.org/html/rfc7515 JSON Web Signature (JWS)\n* https://tools.ietf.org/html/rfc7518 JSON Web Algorithms (JWA)\n* https://tools.ietf.org/html/rfc7517 JSON Web Key (JWK)\n* https://tools.ietf.org/html/rfc7519 JSON Web Token (JWT)\n* https://tools.ietf.org/html/rfc7520 Examples of Protecting Content Using JOSE\n\n**Disclaimer**: This library contains encryption software that is subject to the\nU.S. Export Administration Regulations. You may not export, re-export, transfer\nor download this code or any part of it in violation of any United States law,\ndirective or regulation. In particular this software may not be exported or\nre-exported  in any form or on any media to Iran, North Sudan, Syria, Cuba, or\nNorth Korea, or to denied persons or entities mentioned on any US maintained\nblocked list.\n\nExample encryption\n------------------\n\n```js\nvar cryptographer = new Jose.WebCryptographer();\nvar rsa_key = Jose.Utils.importRsaPublicKey(\n  {\n    n:\n      \"c2:4b:af:0f:2d:2b:ad:36:72:a7:91:0f:ee:30:a0:95:d5:3a:46:82:86:96:7e:42:c6:fe:8f:20:97:af:49:f6:48:a3:91:53:ac:2e:e6:ec:9a:9a:e0:0a:fb:1c:db:44:40:5b:8c:fc:d5:1c:cb:b6:9b:60:c0:a8:ac:06:f1:6b:29:5e:2f:7b:09:d9:93:32:da:3f:db:53:9c:2e:ea:3b:41:7f:6b:c9:7b:88:9f:2e:c5:dd:42:1e:7f:8f:04:f6:60:3c:fe:43:6d:32:10:ce:8d:99:cb:76:f7:10:97:05:af:28:1e:39:0f:78:35:50:7b:8e:28:22:a4:7d:11:51:22:d1:0e:ab:6b:6f:96:cb:cf:7d:eb:c6:aa:a2:6a:2e:97:2a:93:af:a5:89:e6:c8:bc:9f:fd:85:2b:0f:b4:c0:e4:ca:b5:a7:9a:01:05:81:93:6b:f5:8d:1c:f7:f3:77:0e:6e:53:34:92:0f:48:21:34:33:44:14:5e:4a:00:41:3a:7d:cb:38:82:c1:65:e0:79:ea:a1:05:84:b2:6e:40:19:77:1a:0e:38:4b:28:1f:34:b5:cb:ac:c5:2f:58:51:d7:ec:a8:08:0e:7c:c0:20:c1:5e:a1:4d:b1:30:17:63:0e:e7:58:8e:7f:6e:9f:a4:77:8b:1e:a2:d2:2e:1b:e9\",\n    e: 65537\n  },\n  \"RSA-OAEP\"\n);\nvar encrypter = new Jose.JoseJWE.Encrypter(cryptographer, rsa_key);\nencrypter\n  .encrypt(\"hello world\")\n  .then(function(result) {\n    console.log(result);\n  })\n  .catch(function(err) {\n    console.error(err);\n  });\n```\n\nExample RSA signature\n---------------------\n\n```js\nvar rsa_key = {\n  // n = modulus\n  n:\n    \"00:c2:4b:af:0f:2d:2b:ad:36:72:a7:91:0f:ee:30:a0:95:d5:3a:46:82:86:96:7e:42:c6:fe:8f:20:97:af:49:f6:48:a3:91:53:ac:2e:e6:ec:9a:9a:e0:0a:fb:1c:db:44:40:5b:8c:fc:d5:1c:cb:b6:9b:60:c0:a8:ac:06:f1:6b:29:5e:2f:7b:09:d9:93:32:da:3f:db:53:9c:2e:ea:3b:41:7f:6b:c9:7b:88:9f:2e:c5:dd:42:1e:7f:8f:04:f6:60:3c:fe:43:6d:32:10:ce:8d:99:cb:76:f7:10:97:05:af:28:1e:39:0f:78:35:50:7b:8e:28:22:a4:7d:11:51:22:d1:0e:ab:6b:6f:96:cb:cf:7d:eb:c6:aa:a2:6a:2e:97:2a:93:af:a5:89:e6:c8:bc:9f:fd:85:2b:0f:b4:c0:e4:ca:b5:a7:9a:01:05:81:93:6b:f5:8d:1c:f7:f3:77:0e:6e:53:34:92:0f:48:21:34:33:44:14:5e:4a:00:41:3a:7d:cb:38:82:c1:65:e0:79:ea:a1:05:84:b2:6e:40:19:77:1a:0e:38:4b:28:1f:34:b5:cb:ac:c5:2f:58:51:d7:ec:a8:08:0e:7c:c0:20:c1:5e:a1:4d:b1:30:17:63:0e:e7:58:8e:7f:6e:9f:a4:77:8b:1e:a2:d2:2e:1b:e9\",\n\n  // e = publicExponent\n  e: 65537,\n\n  // d = privateExponent\n  d:\n    \"37:b6:4b:f4:26:17:a8:0b:3c:c5:1f:ab:59:b9:47:d2:ae:d9:8e:ee:4e:79:48:ab:0d:34:61:06:0f:78:8b:d4:ba:ef:6b:f4:7a:22:d8:c4:6f:70:89:5d:9c:b3:a1:8b:e8:88:57:dd:07:9e:c2:2b:12:52:a3:eb:b9:a8:24:01:7e:53:2b:7a:34:50:d7:0c:75:d8:69:a3:87:dd:4b:fc:c1:c3:2f:bd:0e:57:16:8d:ea:de:8e:de:ff:e4:9a:9f:aa:e8:d2:5f:b3:27:ef:f9:ca:50:97:2e:fd:99:1c:34:dd:0c:bb:dd:d0:b9:bf:4f:dc:9d:de:94:50:66:2c:58:7e:c2:31:8b:41:56:49:6a:e6:11:14:53:a1:45:0d:15:8b:26:79:0f:c9:dc:ac:dc:c7:bc:55:2c:96:ed:a7:29:09:04:ee:00:74:60:e1:bc:97:7b:0a:b6:f2:83:82:79:65:e0:aa:88:9f:90:b0:0d:76:4d:3c:08:7e:a5:05:19:d4:8b:54:d3:f1:c1:a3:e3:a5:1e:aa:d6:c4:94:ad:6c:b3:8f:85:06:8a:6f:52:f8:a3:c3:e0:8d:67:35:2f:d4:18:fc:70:f4:71:bf:18:88:d6:a7:b7:04:8e:d3:06:ca:83:c3:2d:21:98:65:c9:41:2c:77:bf:4c:7c:8c:2c:01\",\n\n  // p = prime1\n  p:\n    \"00:fa:d6:06:46:5c:04:70:e6:ec:47:02:96:02:a5:e2:41:9d:bd:7b:97:28:a4:c5:3b:b5:9b:0a:6b:7d:b6:44:8a:28:1e:d1:ef:cb:44:ef:eb:4d:08:74:80:f5:cf:3b:b7:40:10:60:c9:18:1e:a5:76:4b:41:37:06:b2:71:03:60:25:77:db:d0:b2:21:dc:b0:32:90:a2:10:9a:d5:e6:e3:11:42:a1:9a:7a:26:3c:d3:12:56:db:25:07:69:be:ae:2c:b9:33:6c:29:e3:65:b9:5b:05:84:05:e6:da:c4:f4:3f:ab:84:60:6e:f0:5f:ba:a8:98:8f:72:2c:c8:40:d1\",\n\n  // q = prime2\n  q:\n    \"00:c6:4b:ac:fe:40:1c:dc:6c:78:07:cc:3e:db:4e:d5:d0:17:3b:8f:04:f0:ae:c4:22:0d:8b:0a:4d:0f:9e:fe:c7:e6:38:b5:53:ba:a9:e8:f0:47:28:14:25:95:6a:79:ab:db:86:97:82:c5:1e:bd:80:a5:aa:a2:b7:a5:c7:48:17:c4:d9:c7:4f:50:2a:69:67:15:4c:0b:f5:e6:fb:20:23:5d:ea:ae:6c:c6:74:ba:cc:f8:06:2b:41:1f:b6:3f:2a:93:fa:f9:e1:ee:93:c3:92:ad:49:c7:8f:db:72:ff:6b:f0:f0:d6:2f:83:ce:1c:82:16:89:57:01:9f:49:2f:99\",\n\n  // dp = exponent1\n  dp:\n    \"57:d4:c1:75:b9:9a:c4:7d:d7:96:35:cd:99:37:c4:b5:fd:29:f0:30:c9:c6:88:59:94:09:a9:e8:61:a8:84:ef:6b:84:ff:35:dc:13:53:7f:2d:06:1c:e5:5b:2d:29:57:cd:52:ee:d0:fb:65:1f:c3:00:2e:e1:b9:b2:99:e7:f8:ae:a5:fd:8e:62:11:81:59:21:1b:8b:e4:0c:93:81:b9:58:bd:e0:20:5b:4d:30:57:28:40:c9:93:79:b9:09:4f:ab:d1:5d:b4:2e:26:b5:e3:e5:7f:54:ef:4c:1a:a6:84:70:16:fa:cf:59:89:49:bb:ee:75:1d:25:79:90:d5:41\",\n\n  // dq = exponent2\n  dq:\n    \"00:ab:eb:a8:8c:b7:21:4e:aa:6c:56:b6:6a:38:d1:dc:e6:91:7d:fd:bd:96:be:af:25:a7:00:49:6a:0e:85:16:f8:51:4e:11:48:0a:aa:8d:5e:e5:12:86:85:1f:4a:35:3b:1f:15:4d:fe:fe:d0:6c:14:41:8d:f3:8d:ad:99:5d:93:de:03:c2:9d:ad:2f:58:3b:1b:67:d7:66:d7:60:1a:b9:0f:10:0d:32:19:cd:d2:b7:2a:c2:8e:75:e3:fc:aa:3f:4c:15:68:d8:cd:74:27:37:e0:2d:fb:6b:6a:24:05:f7:9b:e9:f2:89:37:89:57:86:21:eb:e9:17:6a:f6:94:e1\",\n\n  // qi = coefficient\n  qi:\n    \"0a:ed:5f:30:67:d5:e5:6e:4a:7a:35:49:fe:16:2f:1e:91:2b:39:c3:01:d3:d4:c0:4d:b3:fc:08:b0:66:e9:44:10:9e:5b:5a:ea:83:a5:9c:95:7a:58:70:35:28:e5:4d:ba:19:de:0d:66:f9:db:5c:f6:5b:24:27:9d:0b:2d:44:40:eb:33:3a:19:e2:1d:c0:b0:16:99:d1:c1:52:84:02:d6:67:06:32:f8:4d:cb:42:9f:7c:8a:e0:ad:df:40:6f:e4:8c:f6:f6:9e:1d:bd:43:e3:38:91:a2:d0:9e:60:ff:9d:8c:fb:72:5b:df:95:30:17:d2:f2:cb:7d:92:56:0a\"\n};\n\nvar cryptographer = new Jose.WebCryptographer();\ncryptographer.setContentSignAlgorithm(\"RS256\");\n\nvar signer = new Jose.JoseJWS.Signer(cryptographer);\nsigner.addSigner(rsa_key).then(function() {\n  signer\n    .sign(\"hello world\", null, {})\n    .then(function(message) {\n      console.log(message);\n      var verifier = new Jose.JoseJWS.Verifier(cryptographer, message);\n      verifier.addRecipient(rsa_key).then(function() {\n        verifier\n          .verify()\n          .then(function(verified) {\n            console.log(\"verified: \", verified);\n          })\n          .catch(function(err) {\n            console.error(err);\n          });\n      });\n    })\n    .catch(function(err) {\n      console.error(err);\n    });\n});\n```\n\nExample ECDSA signature\n-----------------------\n\n```js\nvar ec_key = {\n  \"kty\": \"EC\",\n  \"crv\": \"P-256\",\n  \"x\": \"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU\",\n  \"y\": \"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0\",\n  \"d\": \"jpsQnnGQmL-YBIffH1136cspYG6-0iY7X1fCE9-E9LI\"\n}\n var cryptographer = new Jose.WebCryptographer();\ncryptographer.setContentSignAlgorithm(\"ES256\");\n var signer = new Jose.JoseJWS.Signer(cryptographer);\nsigner.addSigner(ec_key).then(function() {\n  signer\n    .sign(\"hello world\", null, {})\n    .then(function(message) {\n      console.log(message);\n      var verifier = new Jose.JoseJWS.Verifier(cryptographer, message);\n      delete ec_key.d;\n      verifier.addRecipient(ec_key).then(function() {\n        verifier\n          .verify()\n          .then(function(verified) {\n            console.log(\"verified: \", verified);\n          })\n          .catch(function(err) {\n            console.error(err);\n          });\n      });\n    })\n    .catch(function(err) {\n      console.error(err);\n    });\n});\n```\n\nAlgorithms exposed by this library\n----------------------------------\nSignatures:\n\n* RSA-256 (default)\n\nKey Encryption:\n\n* RSA-OAEP (default)\n* RSA-OAEP-256\n* A128KW (supported, but not recommended for use)\n* A256KW (supported, but not recommended for use)\n\nContent Encryption:\n\n* A256GCM (default)\n* A128GCM\n* A128CBC-HS256\n* A256CBC-HS512\n\nContent signature:\n\n* RS256 (default)\n* RS384\n* RS512\n* PS256 (Windows only)\n* PS384 (Windows only)\n* PS512 (Windows only)\n* ES256\n* ES384\n* ES512\n\nAlgorithms not exposed (and reason why)\n---------------------------------------\n\n* DIR (could be added if deemed useful, would require little work)\n* PBES2-HS256+A128KW (would require implementing PBES2)\n* PBES2-HS512+A256KW (would require implementing PBES2)\n* RSAES-PKCS1-v_5 was removed in Chrome (https://code.google.com/p/chromium/issues/detail?id=372920)\n* PBES2-HS384+A192KW (AES with 192-bit keys isn't supported in Chrome)\n* A192KW (AES with 192-bit keys isn't supported in Chrome)\n* ECDH-ES (Chrome and IE currently don't support it)\n* ECDH-ES+A128KW (Chrome and IE currently don't support it)\n* ECDH-ES+A192KW (Chrome and IE currently don't support it)\n* ECDH-ES+A256KW (Chrome and IE currently don't support it)\n* RSA-PSS on Linux, OSX and iOS (Chrome supports it only on Windows)\n* HS256, HS384, HS512 (message authentication support could be added in future releases, at the moment only RSA signatures are supported)\n\n\nBuilding\n--------\n\n    npm install\n    grunt\n\n\nSome background info\n--------------------\n\nThe Web Crypto API is still pretty new and isn't always very well documented.\nThe following resources are useful:\n\n* [www.w3.org](http://www.w3.org/TR/WebCryptoAPI/)\n* [msdn.microsoft.com](http://msdn.microsoft.com/en-us/library/ie/dn302338(v=vs.85).aspx)\n* [docs.google.com](https://sites.google.com/a/chromium.org/dev/blink/webcrypto)\n* [developer.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto)\n\nNote: Internet Explorer's Web Crypto API differs from Chrome's (as it was\nimplemented against an earlier version of the ietf draft). We will either\nneed to implement a thin abstraction layer or [wait for Microsoft to update\nthings](https://status.modern.ie/webcryptoapi?term=crypto).\n\nAuthors and contributors\n------------------------\n(in alphabetical order)\n\n* Alok Menghrajani\n* Cedric Staub\n* Davis Gallinghouse\n* Leonid Lance\n* Lewis Marshall\n* Mischa MacLeod\n* Robert Coie\n* Ryan Hurst\n* Sam Quigley\n\nRandom other interesting resources\n----------------------------------\n* Web Crypto API polyfill for Node: https://github.com/PeculiarVentures/node-webcrypto-ossl\n* Web Crypto API polyfill for browsers: https://github.com/vibornoff/webcrypto-shim\n* MSR Web Crypto API Polyfill: http://research.microsoft.com/en-us/downloads/29f9385d-da4c-479a-b2ea-2a7bb335d727/\n* PKIjs - https://github.com/GlobalSign/PKI.js\n* ASN1js - https://github.com/GlobalSign/ASN1.js\n* JWT: https://github.com/michaelrhanson/jwt-js\n* BigInt, RSA, ECC: http://www-cs-students.stanford.edu/~tjw/jsbn/\n* asn1, pem, x509 and more: http://kjur.github.io/jsrsasign/ and\n  https://github.com/michaelrhanson/jwt-js/tree/master/lib/kurushima-jsrsa\n* Stanford Javascript Crypto library: https://github.com/bitwiseshiftleft/sjcl\n* https://gist.github.com/jo/8619441\n","maintainers":[{"name":"alokmenghrajani","email":"alok@squareup.com"}],"time":{"modified":"2022-06-19T04:48:20.881Z","created":"2015-09-09T22:16:05.471Z","0.0.3":"2015-09-09T22:16:05.471Z","0.1.0":"2016-04-11T23:33:00.553Z","0.1.1":"2016-09-06T21:59:15.194Z","0.1.2":"2016-09-16T18:09:44.231Z","0.1.3":"2016-10-25T20:08:55.479Z","0.1.4":"2016-10-25T20:09:38.617Z","0.1.5":"2017-05-20T18:04:18.863Z","0.1.6":"2017-10-16T17:42:29.428Z","0.1.7":"2019-02-22T04:47:41.919Z","0.2.0":"2019-07-24T02:20:35.987Z","0.2.1":"2019-08-09T03:46:33.763Z","0.2.2":"2020-01-13T20:55:16.554Z"},"homepage":"https://github.com/square/js-jose#readme","keywords":["crypto","jwe","jws","encrypt","decrypt","sign","verify"],"repository":{"type":"git","url":"git+https://github.com/square/js-jose.git"},"bugs":{"url":"https://github.com/square/js-jose/issues"},"license":"Apache-2.0","readmeFilename":"README.md","users":{"alokmenghrajani":true,"nelix":true}}