securerandom

A random string generator

SecureRandom

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

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

npm test

Welcome.