random-hex-string
Generate a random hex string synchronously or asynchronously with both callback and promise support. Uses crypto.randomBytes
underneath.
usage
// synchronouslyconsole// i.e. '67' // asynchronously, callback // asynchronously, promise