Closed thackerronak closed 6 years ago
issue solved with change crypto lib to browserify-aes in index.js file var randomBytes = require('randombytes'); // var crypto = require("crypto"); var crypto = require('browserify-aes');
Hi,An error occurred when I created the key. Error: secure random number generation not supported by this browser use chrome, FireFox or Internet Explorer 11
@ChenLiheng cannot describe the problem better than your browser, secure RNG is implementation dependent, you shouldn't use a browser that's not capable doing that
@Silur If I have to use this browser, what should I do ? Is there any way to be compatible with these browsers?
@ChenLiheng What versions of Chrome and Firefox are you using?
"angular/compiler-cli": "^4.2.4", "typescript": "~2.3.3"
var dk = keythereum.create(this.params);
"scripts": [ "assets/keythereum.min.js", "assets/keythereum.js" ],