Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 3 lat temu
..
.travis.yml First Commit 3 lat temu
.zuul.yml First Commit 3 lat temu
LICENSE First Commit 3 lat temu
README.md First Commit 3 lat temu
browser.js First Commit 3 lat temu
index.js First Commit 3 lat temu
package.json First Commit 3 lat temu
test.js First Commit 3 lat temu

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