{"action":"created","issue":{"url":"https://api.github.com/repos/crypto-browserify/randombytes/issues/2","labels_url":"https://api.github.com/repos/crypto-browserify/randombytes/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/crypto-browserify/randombytes/issues/2/comments","events_url":"https://api.github.com/repos/crypto-browserify/randombytes/issues/2/events","html_url":"https://github.com/crypto-browserify/randombytes/issues/2","id":64600315,"number":2,"title":"Error in Chrome","user":{"login":"bezreyhan","id":6013763,"avatar_url":"https://avatars.githubusercontent.com/u/6013763?v=3","gravatar_id":"","url":"https://api.github.com/users/bezreyhan","html_url":"https://github.com/bezreyhan","followers_url":"https://api.github.com/users/bezreyhan/followers","following_url":"https://api.github.com/users/bezreyhan/following{/other_user}","gists_url":"https://api.github.com/users/bezreyhan/gists{/gist_id}","starred_url":"https://api.github.com/users/bezreyhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bezreyhan/subscriptions","organizations_url":"https://api.github.com/users/bezreyhan/orgs","repos_url":"https://api.github.com/users/bezreyhan/repos","events_url":"https://api.github.com/users/bezreyhan/events{/privacy}","received_events_url":"https://api.github.com/users/bezreyhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-26T18:23:25Z","updated_at":"2015-03-26T19:49:59Z","closed_at":null,"body":"I received this error in an up-to-date version of Chrome (Version 41.0.2272.104):\r\n\r\n`Uncaught Error: secure random number generation not supported by this browser\r\nuse chrome, FireFox or Internet Explorer 11`\r\n\r\nafter running\r\n```\r\nvar randombytes = require('randombytes');\r\nconsole.log(randombytes(10))\r\n```\r\n\r\nHowever, `crypto.randomBytes` worked fine. \r\n"},"comment":{"url":"https://api.github.com/repos/crypto-browserify/randombytes/issues/comments/86688792","html_url":"https://github.com/crypto-browserify/randombytes/issues/2#issuecomment-86688792","issue_url":"https://api.github.com/repos/crypto-browserify/randombytes/issues/2","id":86688792,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T19:49:59Z","updated_at":"2015-03-26T19:49:59Z","body":"hm, so does the link above work for you? and are you able to open up dev tools and a put a break point in?"}}