fixedentropy

1.0.0 • Public • Published

node-fixedentropy

// V8 supports custom sources of entropy.
// by default, entropy is fairly entropic; in node.js, it's sourced
// from some primo OpenSSL functions

Math.random(); // 0.6986953148152679
Math.random(); // 0.700820395257324
Math.random(); // 0.2057398131582886

// Looking good.

// But, of course, node supports C++ modules, and V8 supports
// runtime entropy configuration, so

require('./build/Release/fixedentropy');

Math.random(); // 0.06971457065083086
Math.random(); // 0.06971457065083086
Math.random(); // 0.06971457065083086

Readme

Keywords

none

Package Sidebar

Install

npm i fixedentropy

Weekly Downloads

5

Version

1.0.0

License

none

Last publish

Collaborators

  • tmcw