Closed xirafa closed 6 years ago
Even when the browser (e.g. chrome) implements getRandomValues (using system-secure and very fast PRNG), asmCrypto overrides it. I think it should be optional or at least configurable.
As a work-around, one can run delete crypto.getRandomValues after loading asmCrypto. Still, this should not be necessary.
delete crypto.getRandomValues
Even when the browser (e.g. chrome) implements getRandomValues (using system-secure and very fast PRNG), asmCrypto overrides it. I think it should be optional or at least configurable.