Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit il y a 3 ans
..
.travis.yml First Commit il y a 3 ans
.zuul.yml First Commit il y a 3 ans
LICENSE First Commit il y a 3 ans
README.md First Commit il y a 3 ans
browser.js First Commit il y a 3 ans
index.js First Commit il y a 3 ans
package.json First Commit il y a 3 ans
test.js First Commit il y a 3 ans

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