When I call cryptocoin.secureRandom(bytes) in browsers that support crypto.getRandomValues(clampedArray), I get the error Error: Your browser does not support window.crypto.
The node module secure-random looks for globals.crypto, but is unable to find it.
In the official repo secure-random.js#L23 the function looks for window.crypto. Is this an issue with the way browserify is injecting globals?
Note: I am using bower to include cryptocoin.
I added secure-random with bower and it works fine on its own.