webcrypto-liner
webcrypto-liner copied to clipboard
webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)
The reason is that (to the best of my knowledge) PBKDF2 is not supported on IE11. The failure is NotSupportedError returned by native IE11 subtle upon `importKey()` call with PBKDF2....
PR
@dannycoates I just noticed your fork, there’s some good changes in here. If you’d be interested in having those merged into the main project just submit a PR be happy...
Our test failed when dependent bot try to auto upgrade dependency for us. Happy to see the info about what is changed from 1.0.2 to 1.1.2, thanks! https://github.com/DimensionDev/Maskbook/pull/611 ```log ReferenceError:...
https://github.com/PeculiarVentures/webcrypto-liner/blob/faae2d4b127c1830ceb2fad4736d6177feab3544/src/shim.ts#L11-18 Source code: ```ts try { // Replace original crypto by liner delete (self as any).crypto; window.crypto = new Crypto(); Object.freeze(window.crypto); } catch (e) { Debug.error(e); } ``` In the...
Is it possible to use this as a simple es5/6 module and require/import for use in a particular class? I get the impression that we need to run `npm install...
`tsc -p tsconfig.json` is emitting a bunch of type errors. Seems they are all to do with Native CryptoKey and CryptoKeyPair types being incompatible with those defined in `src/key.ts` Because...
The wrapping_key in this code has a "wrapKey" permission. However, this gave an error when I tired to used it. But, when the wrapping key also has an "encrypt" permission,...
I cloned the project, installed webpack, and ran webpack that generated files in dist/ directory. However, when I try to run the example in examples/src/index.html on Safari, I get an...
At the moment we have only one option: ```typescript res = asmCrypto.AES_ECB.encrypt(data, key.key, true) as Uint8Array; ``` I need to have an option for set least parameter here to "false"...