Closed Javarome closed 3 years ago
Could you share an example and modules you use? Cause webcrypto-core doesn't implement Crypto::getRandomValues
You are correct: I was using a webpack fallback to crypto-browserify
to which you delegated as the "default" implementation for random values.
Sorry about the false warning.
When running a test (i.e. using NodeJS) that calls peculiar's
crypto.getRandomValues(new Int8Array(12))
everything works fine.When running the same code in the browser (still using peculiar's
crypto
and NOTwindow.crypto
), I getI would have expected that an API of a WebCrypto implementation to run on the web (without requiring NodeJS modules such as
process
)?