Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore add .gitignore Jun 2, 2017
.travis.yml travis: drop <4, add 6,7 Jun 2, 2017
.zuul.yml Add fix for phantomjs, also adds travis tests. Nov 14, 2015
LICENSE Create LICENSE May 24, 2017 update readme Feb 16, 2018
browser.js smarter testing of older node buffers Oct 18, 2017
index.js first Oct 18, 2017
package.json 1.0.4 Feb 16, 2018
test.js smarter testing of older node buffers Oct 18, 2017



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
You can’t perform that action at this time.