use Buffer.isBuffer(b) to test that randomBytes returns a buffer, not instanceof
use Buffer.isBuffer(b) to test that randomBytes returns a buffer, not instanceof

crypto-browserify/crypto-browserify,crypto-browserify/crypto-browserify