@ -3,7 +3,7 @@ function Random() {
/* secure random bytes that sometimes throws an error due to lack of entropy */
Random.getRandomBuffer = function(size) {
if (typeof process === 'undefined' || process.browser)
if (process.browser)
return Random.getRandomBufferBrowser(size);
else
return Random.getRandomBufferNode(size);