{"_id":"randombytes","_rev":"77618","name":"randombytes","description":"random bytes from browserify stand alone","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"time":{"modified":"2021-06-03T10:24:56.000Z","created":"2015-01-15T14:33:50.140Z","2.1.0":"2019-02-19T13:48:39.116Z","2.0.6":"2018-01-10T18:10:08.246Z","2.0.5":"2017-06-07T19:30:38.426Z","2.0.4":"2017-06-02T04:18:04.688Z","2.0.3":"2016-03-02T18:51:43.439Z","2.0.2":"2016-01-13T13:16:41.439Z","2.0.1":"2015-01-22T00:20:45.544Z","2.0.0":"2015-01-18T16:41:00.977Z","1.0.0":"2015-01-15T14:33:50.140Z"},"users":{"jonabasque":true,"emilbay":true,"shuoshubao":true,"hugovila":true},"author":"","repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"versions":{"2.1.0":{"name":"randombytes","version":"2.1.0","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"standard && node test.js | tspec","phantom":"zuul --phantom -- test.js","local":"zuul --local --no-coverage -- test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"phantomjs":"^1.9.9","standard":"^10.0.2","tap-spec":"^2.1.2","tape":"^4.6.3","zuul":"^3.7.2"},"dependencies":{"safe-buffer":"^5.1.0"},"gitHead":"f18ded32b209f0d4c637608a11ae042ae96b4c2e","_id":"randombytes@2.1.0","_nodeVersion":"10.15.0","_npmVersion":"6.7.0","dist":{"shasum":"df6f84372f0270dc65cdf6291349ab7a473d4f2a","size":2667,"noattachment":false,"key":"/randombytes/-/randombytes-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.1.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/randombytes_2.1.0_1550584118742_0.21304987976010614"},"_hasShrinkwrap":false,"publish_time":1550584119116,"_cnpm_publish_time":1550584119116},"2.0.6":{"name":"randombytes","version":"2.0.6","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"standard && node test.js | tspec","phantom":"zuul --phantom -- test.js","local":"zuul --local --no-coverage -- test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"phantomjs":"^1.9.9","standard":"^10.0.2","tap-spec":"^2.1.2","tape":"^4.6.3","zuul":"^3.7.2"},"dependencies":{"safe-buffer":"^5.1.0"},"gitHead":"cc8b6aec2fc35ccb1aa782dcab18268886ef26e5","_id":"randombytes@2.0.6","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"d302c522948588848a8d300c932b44c24231da80","size":2487,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.6.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/randombytes-2.0.6.tgz_1515607807232_0.09801237541250885"},"directories":{},"publish_time":1515607808246,"_hasShrinkwrap":false,"_cnpm_publish_time":1515607808246},"2.0.5":{"name":"randombytes","version":"2.0.5","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"standard && node test.js | tspec","phantom":"zuul --phantom -- test.js","local":"zuul --local --no-coverage -- test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"phantomjs":"^1.9.9","standard":"^10.0.2","tap-spec":"^2.1.2","tape":"^4.6.3","zuul":"^3.7.2"},"dependencies":{"safe-buffer":"^5.1.0"},"gitHead":"9b470ac1419e5545a5265238ccc5db8a7f1f8644","_id":"randombytes@2.0.5","_npmVersion":"5.0.2","_nodeVersion":"8.0.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"dc009a246b8d09a177b4b7a0ae77bc570f4b1b79","size":2516,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.5.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/randombytes-2.0.5.tgz_1496863837565_0.05516815301962197"},"directories":{},"publish_time":1496863838426,"_hasShrinkwrap":false,"_cnpm_publish_time":1496863838426},"2.0.4":{"name":"randombytes","version":"2.0.4","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"standard && node test.js | tspec","phantom":"zuul --phantom -- test.js","local":"zuul --local --no-coverage -- test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"phantomjs":"^1.9.9","standard":"^10.0.2","tap-spec":"^2.1.2","tape":"^4.6.3","zuul":"^3.7.2"},"dependencies":{"safe-buffer":"^5.0.1"},"gitHead":"18447371fa78b23ee95b1561f28a67b21b0067e1","_id":"randombytes@2.0.4","_shasum":"9551df208422c8f80eb58e2326dd0b840ff22efd","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.10.0","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"dist":{"shasum":"9551df208422c8f80eb58e2326dd0b840ff22efd","size":2516,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.4.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/randombytes-2.0.4.tgz_1496377084603_0.3779000991489738"},"directories":{},"publish_time":1496377084688,"_cnpm_publish_time":1496377084688,"_hasShrinkwrap":false},"2.0.3":{"name":"randombytes","version":"2.0.3","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"standard && node test.js | tspec","phantom":"zuul --phantom -- test.js","local":"zuul --local --no-coverage -- test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"phantomjs":"^1.9.9","standard":"^3.3.0","tap-spec":"^2.1.2","tape":"^3.0.3","zuul":"^3.7.2"},"gitHead":"f466c002a706ee11dadf3b6aa0a6e9bf1c37c82d","_id":"randombytes@2.0.3","_shasum":"674c99760901c3c4112771a31e521dc349cc09ec","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"674c99760901c3c4112771a31e521dc349cc09ec","size":1756,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.3.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/randombytes-2.0.3.tgz_1456944700918_0.5908831511624157"},"directories":{},"publish_time":1456944703439,"_cnpm_publish_time":1456944703439,"_hasShrinkwrap":false},"2.0.2":{"name":"randombytes","version":"2.0.2","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"standard && node test.js | tspec","phantom":"zuul --phantom -- test.js","local":"zuul --local --no-coverage -- test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"phantomjs":"^1.9.9","standard":"^3.3.0","tap-spec":"^2.1.2","tape":"^3.0.3","zuul":"^3.7.2"},"gitHead":"9e49a0c722df7755376cfed04aeca651526540e5","_id":"randombytes@2.0.2","_shasum":"f5910f4bc57ea8eccc67e32e0b52adf0ae011e43","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"f5910f4bc57ea8eccc67e32e0b52adf0ae011e43","size":1691,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.2.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"directories":{},"publish_time":1452691001439,"_cnpm_publish_time":1452691001439,"_hasShrinkwrap":false},"2.0.1":{"name":"randombytes","version":"2.0.1","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"node test.js | tspec"},"repository":{"type":"git","url":"git@github.com:crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"tap-spec":"^2.1.2","tape":"^3.0.3"},"gitHead":"849c4a44af3275dd1fa5ae221e5e87304b43e165","_id":"randombytes@2.0.1","_shasum":"18f4a9ba0dd07bdb1580bc9156091fcf90eabc6f","_from":".","_npmVersion":"2.2.0","_nodeVersion":"0.10.35","_npmUser":{"name":"dcousens","email":"email@dcousens.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"dist":{"shasum":"18f4a9ba0dd07bdb1580bc9156091fcf90eabc6f","size":1280,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.1.tgz"},"directories":{},"publish_time":1421886045544,"_cnpm_publish_time":1421886045544,"_hasShrinkwrap":false},"2.0.0":{"name":"randombytes","version":"2.0.0","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"node test.js | tspec"},"repository":{"type":"git","url":"git@github.com:crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"browser.js","devDependencies":{"tap-spec":"^2.1.2","tape":"^3.0.3"},"gitHead":"1d47bae0f725dcf40bfc5df148365b17b1d54827","_id":"randombytes@2.0.0","_shasum":"e59d471c66e3537f85e1ca2e2b0511e9cc2115b6","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"dist":{"shasum":"e59d471c66e3537f85e1ca2e2b0511e9cc2115b6","size":1193,"noattachment":false,"key":"/randombytes/-/randombytes-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-2.0.0.tgz"},"directories":{},"publish_time":1421599260977,"_cnpm_publish_time":1421599260977,"_hasShrinkwrap":false},"1.0.0":{"name":"randombytes","version":"1.0.0","description":"random bytes from browserify stand alone","main":"index.js","scripts":{"test":"node test.js | tspec"},"repository":{"type":"git","url":"git@github.com:crypto-browserify/randombytes.git"},"keywords":["crypto","random"],"author":"","license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"homepage":"https://github.com/crypto-browserify/randombytes","browser":"randomBytes.js","devDependencies":{"tap-spec":"^2.1.2","tape":"^3.0.3"},"gitHead":"9e99f197e01a17b47c88ae0e6eaf1a2199737c2a","_id":"randombytes@1.0.0","_shasum":"a52ff9f435cdecaea97cdeecb092303967dbec76","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.35","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"dcousens","email":"email@dcousens.com"},{"name":"indutny","email":"fedor@indutny.com"},{"name":"jprichardson","email":""},{"name":"ljharb","email":""}],"dist":{"shasum":"a52ff9f435cdecaea97cdeecb092303967dbec76","size":41150,"noattachment":false,"key":"/randombytes/-/randombytes-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/randombytes/download/randombytes-1.0.0.tgz"},"directories":{},"publish_time":1421332430140,"_cnpm_publish_time":1421332430140,"_hasShrinkwrap":false}},"readme":"randombytes\n===\n\n[![Version](http://img.shields.io/npm/v/randombytes.svg)](https://www.npmjs.org/package/randombytes) [![Build Status](https://travis-ci.org/crypto-browserify/randombytes.svg?branch=master)](https://travis-ci.org/crypto-browserify/randombytes)\n\nrandombytes from node that works in the browser.  In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues\n\n```js\nvar randomBytes = require('randombytes');\nrandomBytes(16);//get 16 random bytes\nrandomBytes(16, function (err, resp) {\n  // resp is 16 random bytes\n});\n```\n","_attachments":{},"homepage":"https://github.com/crypto-browserify/randombytes","bugs":{"url":"https://github.com/crypto-browserify/randombytes/issues"},"license":"MIT"}