Sha256: d923f18c53d7031c5fc70ba39cfc22a94f4d39e8513dc096e4deb16c8c849885
Contents?: true
Size: 575 Bytes
Versions: 45
Compression:
Stored size: 575 Bytes
Contents
randombytes === [![Version](http://img.shields.io/npm/v/randombytes.svg)](https://www.npmjs.org/package/randombytes) [![Build Status](https://travis-ci.org/crypto-browserify/randombytes.svg?branch=master)](https://travis-ci.org/crypto-browserify/randombytes) randombytes from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues ```js var randomBytes = require('randombytes'); randomBytes(16);//get 16 random bytes randomBytes(16, function (err, resp) { // resp is 16 random bytes }); ```
Version data entries
45 entries across 44 versions & 16 rubygems