crypto-browserify icon indicating copy to clipboard operation
crypto-browserify copied to clipboard

partial implementation of node's `crypto` for the browser

Results 47 crypto-browserify issues
Sort by recently updated
recently updated
newest added

Can you provide an `crypto-browserify.d.ts`? I am using typescript. Without this file, my editor will report an error. At present, I am using a magic revision of `crypto.d.ts`, and only...

This implements https://github.com/crypto-browserify/crypto-browserify/issues/213 and https://github.com/crypto-browserify/crypto-browserify/issues/214

For new users transitioning to `crypto-browserify` (for example due to recent [`create-react-scripts 5` breakage](https://github.com/facebook/create-react-app/pull/11764)), it would be really helpful if the user guide had a small example of how to:...

https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues

https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID crypto.randomUUID should return a UUID. Edit: more links - https://nodejs.org/api/webcrypto.html#cryptogetrandomvaluestypedarray - https://nodejs.org/api/webcrypto.html#cryptorandomuuid

the library cipher-base from browserify-sign is using node js internal module 'stream' which is not available in the browser. I have come up with a fix for now which is...

Added an implementation of generateKeyPair using the WebCryptoAPI

SHA3 is becoming more popular and supported by NodeJS, support for it should be added here as well. The popular package "jsSHA" supports this in a relatively easy to wrap...

For 'aes-256-gcm', I've tried to use: let decipher = crypto.createDecipheriv('aes-256-gcm', serverKeyArr, iv, {authTagLength: 12}); to define auth tag to 12 bytes, however, when I execute decipher.final(), inside that function, the...