APPLE 323c2f1633 wesmiler 点什么广告 3 年 前
..
.travis.yml 323c2f1633 wesmiler 点什么广告 3 年 前
.zuul.yml 323c2f1633 wesmiler 点什么广告 3 年 前
LICENSE 323c2f1633 wesmiler 点什么广告 3 年 前
README.md 323c2f1633 wesmiler 点什么广告 3 年 前
browser.js 323c2f1633 wesmiler 点什么广告 3 年 前
index.js 323c2f1633 wesmiler 点什么广告 3 年 前
package.json 323c2f1633 wesmiler 点什么广告 3 年 前
test.js 323c2f1633 wesmiler 点什么广告 3 年 前

README.md

randombytes

Version Build Status

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

var randomBytes = require('randombytes');
randomBytes(16);//get 16 random bytes
randomBytes(16, function (err, resp) {
  // resp is 16 random bytes
});