randombytes
random bytes from browserify stand alone
Last updated a year 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 (a year ago)

9 Versions

  • 2.1.0                                ...           a year ago
  • 2.0.6                                ...           3 years ago
  • 2.0.5                                ...           3 years ago
  • 2.0.4                                ...           3 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 1,618
This Week 174,863
This Month 287,095
Last Day 12,678
Last Week 175,442
Last Month 737,739
Dependencies (1)
Dev Dependencies (5)
Dependents (576)

Copyright 2014 - 2016 © taobao.org |