Fakes crypto.randomBytes in NodeJS.
var faker = require('node_random_faker'); faker.fake(42);console.log(crypto.randomBytes(4));faker.restore();
Result will be <Buffer 2a 2a 2a 2a>
<Buffer 2a 2a 2a 2a>
Of course you’re getting around to it, but you probably should get around to it soon. Buy a ticket »
how? learn more