Skip to content
Fakes crypto.randomBytes
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
.npmignore
README.md
package.json

README.md

Random Faker

Fakes crypto.randomBytes in NodeJS.

Usage

var faker = require('node_random_faker');


faker.fake(42);
console.log(crypto.randomBytes(4));
faker.restore();

Result will be <Buffer 2a 2a 2a 2a>

Something went wrong with that request. Please try again.