Random Byte Sequence
This library attempts to generate high quality random byte sequences if the JS environment allows it. However, if everything fails a fallback
to yer good'ol Math.random()
is used.
This works in browsers and on the server.
Example Usage
var rbs = require("@jwaterfaucett/random_byte_sequence");
// generate 16 random bytes
var bytes = rbs(16);