Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

README.md 459 B

há 3 anos
123456789101112131415
  1. randomfill
  2. ===
  3. [![Version](http://img.shields.io/npm/v/randomfill.svg)](https://www.npmjs.org/package/randomfill)
  4. randomfill from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues
  5. ```js
  6. var randomFill = require('randomfill');
  7. var buf
  8. randomFill.randomFillSync(16);//get 16 random bytes
  9. randomFill.randomFill(16, function (err, resp) {
  10. // resp is 16 random bytes
  11. });
  12. ```