lihai 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
..
.travis.yml 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
.zuul.yml 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
LICENSE 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
README.md 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
browser.js 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
index.js 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
package.json 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos
test.js 8d6c751f49 feat: push %!s(int64=2) %!d(string=hai) anos

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