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ů.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit před 3 roky
..
.travis.yml First Commit před 3 roky
.zuul.yml First Commit před 3 roky
LICENSE First Commit před 3 roky
README.md First Commit před 3 roky
browser.js First Commit před 3 roky
index.js First Commit před 3 roky
package.json First Commit před 3 roky
test.js First Commit před 3 roky

README.md

randomfill

Version

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

var randomFill = require('randomfill');
var buf
randomFill.randomFillSync(16);//get 16 random bytes
randomFill.randomFill(16, function (err, resp) {
  // resp is 16 random bytes
});