opencrypto
opencrypto copied to clipboard
OpenCrypto is a lightweight JavaScript library built on top of WebCryptography API
Hi, Super tool for us crypto "challenged" I would like to protect a public key and therefore was looking for encryptPublicKey and decryptPublicKey but unfortunately they do not exist. My...
```js error - /home/user/myproject/node_modules/.pnpm/[email protected]/node_modules/opencrypto/src/OpenCrypto.js:59 export default class OpenCrypto { ^^^^^^ SyntaxError: Unexpected token 'export' at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1033:15) at Module._compile (node:internal/modules/cjs/loader:1069:27) at Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Object.require.extensions. [as .js]...
Hi, thanks for this great wrapper. I think from node version 15.14.0 there is webcrypto in the official crytpo library. like so: require('crypto').webcrypto or using https://github.com/PeculiarVentures/webcrypto this might be a...
Hi, I stumbled across a bug in the `getFingerprint` function, line 2406: ``` options.hash = (typeof hash !== 'undefined') ? hash : 'SHA-512' ``` should read: ``` options.hash = (typeof...
Hi, I have created in API library that uses opencrypto for a web App. Now, I need to support react-native but not sure how to do this. I tried to...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33. Changelog Sourced from ua-parser-js's changelog. Version 0.7.31 / 1.0.2 Fix OPPO Reno A5 incorrect detection Fix TypeError Bug Use AST to extract regexes and...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [json5](https://github.com/json5/json5) and [tsconfig-paths](https://github.com/dividab/tsconfig-paths). These dependencies needed to be updated together. Updates `json5` from 1.0.1 to 2.2.3 Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest'...
Hi folks, Looking at docs, I couldn't find anything that mentions exporting Keys to `JWK`. I would like to have my keys exported to `jwk` format. I was using native...
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1. Release notes Sourced from engine.io's releases. 6.2.1 :warning: This release contains an important security fix :warning: A malicious client could send a specially crafted...