node package manager

securerandom

A random string generator

SecureRandom

Build Status

This makes a random hex string. It functions similar to the SecureRandom.hex method in Ruby.

Usage

var SecureRandom = require('securerandom');
 
console.log(SecureRandom.hex(12)); // prints a random 12 byte string

Tests

npm test

Contributions

Welcome.