node-pseudorandombytes

crypto.pseudoRandomBytes but for use with browserify
  https://github.com/crypto-browserify/pseudorandombytes
  0
  no reviews



In node it just returns crypto.pseudoRandomBytes but in the browser it uses randombytes module if available else it seeds a prng based on chacha20poly1305

To be clear there is no legitimate reason for you ever to want to use this. The algorithms used in this module are **NOT** suitable for cryptographical usage.

This package is provided **ONLY** to run tests of node-crypto-browserify.

Node.js is an event-based server-side JavaScript engine.