From e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Mon, 16 Nov 2020 00:10:28 +0100 Subject: api, login, auth --- node_modules/randomfill/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 node_modules/randomfill/README.md (limited to 'node_modules/randomfill/README.md') diff --git a/node_modules/randomfill/README.md b/node_modules/randomfill/README.md new file mode 100644 index 0000000..1ae13ad --- /dev/null +++ b/node_modules/randomfill/README.md @@ -0,0 +1,15 @@ +randomfill +=== + +[![Version](http://img.shields.io/npm/v/randomfill.svg)](https://www.npmjs.org/package/randomfill) + +randomfill from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues + +```js +var randomFill = require('randomfill'); +var buf +randomFill.randomFillSync(16);//get 16 random bytes +randomFill.randomFill(16, function (err, resp) { + // resp is 16 random bytes +}); +``` -- cgit v1.2.3