random-48

0.0.4 • Public • Published

random-48

Windows Build Status Current Version dependency Status devDependency Status

random-48 is a Node.js binding for Windows CryptGenRandom function

Installing

You can install random-48 as a dependency of your project using NPM like so, provided you have met the dependencies listed below.

> npm install --save random-48

Dependencies

API

random(void)

const Generate = require('random-48');
const random = Generate.random();
// random now contains a random 48 bit integer
 

Todo

  • Make cross-platform
  • Allow user options?
  • Improve tests

License

rand is licensed under BSD-3-Clause.

Readme

Keywords

Package Sidebar

Install

npm i random-48

Weekly Downloads

2

Version

0.0.4

License

BSD-3-Clause

Last publish

Collaborators

  • simon-p-r