randombytes
random bytes from browserify stand alone
Last updated 2 years ago by cwmma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install randombytes 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.1.0                                ...           latest (2 years ago)

9 Versions

  • 2.1.0                                ...           2 years ago
  • 2.0.6                                ...           3 years ago
  • 2.0.5                                ...           3 years ago
  • 2.0.4                                ...           3 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Downloads
Today 9,050
This Week 196,781
This Month 821,125
Last Day 35,162
Last Week 211,530
Last Month 680,045
Dependencies (1)
Dev Dependencies (5)
Dependents (669)

Copyright 2014 - 2017 © taobao.org |