crypto-browserify
crypto-browserify copied to clipboard
partial implementation of node's `crypto` for the browser
publicEncrypt and privateEncrypt are well implemented, however how to generate key pairs ? The equivalent functions in node are generateKeyPair (Sync) and it would be nice to have them. Clearly...
as the title
Using special language native characters in encryption key result in different crypted phrase compared to native crypto node module. Example of characters: ěščřžýáíéśćżź and way more. Reproduction code: ``` const...
When using crypto-browserify or just browserify to require crypto i want to use the following: ```js const encryptedData = crypto.publicEncrypt({ key: `some public key`, padding: crypto.constants.RSA_PKCS1_OAEP_PADDING, oaepHash: "sha256", }, Buffer.from(password)...
Current browserify-sign version has elliptic in dependency which contains security issue. Please update browserify-sign to fix it.
Does crypto-browserify has an ECCN classification? https://en.wikipedia.org/wiki/Export_Administration_Regulations
I'm trying to bundle the PageSigner [pgsg-node.js](https://github.com/tlsnotary/pagesigner/blob/master/webextension/content/pgsg-node/pgsg-node.js) (written in NodeJS) using browserify, such that I can run it via QuickJS and eventually compile it to WASM. (Not for a browser...
Fixes #197 Requires #200 to be pushed first
Crypto-browserify uses sha-1 for oaep, while Crypto allows more algorithms, like sha-256, since v12.9.0: Screenshot from crypto docs: nodejs.org/api/crypto.html 
How do I do this? ``` const decryptChunk = (chunk, blowFishKey) => { let cipher = crypto.createDecipheriv('bf-cbc', blowFishKey, Buffer.from([0, 1, 2, 3, 4, 5, 6, 7])); cipher.setAutoPadding(false); return cipher.update(chunk, 'binary',...