Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
nitowa 1dae68b1c7 init před 2 roky
..
.travis.yml init před 2 roky
.zuul.yml init před 2 roky
LICENSE init před 2 roky
README.md init před 2 roky
browser.js init před 2 roky
index.js init před 2 roky
package.json init před 2 roky
test.js init před 2 roky

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
});