甘艺伟 082d4d53ac no message пре 2 недеља
..
.travis.yml 082d4d53ac no message пре 2 недеља
.zuul.yml 082d4d53ac no message пре 2 недеља
LICENSE 082d4d53ac no message пре 2 недеља
README.md 082d4d53ac no message пре 2 недеља
browser.js 082d4d53ac no message пре 2 недеља
index.js 082d4d53ac no message пре 2 недеља
package.json 082d4d53ac no message пре 2 недеља
test.js 082d4d53ac no message пре 2 недеља

README.md

randombytes

Version Build Status

randombytes from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues

var randomBytes = require('randombytes');
randomBytes(16);//get 16 random bytes
randomBytes(16, function (err, resp) {
  // resp is 16 random bytes
});