/ stream.nieuweinstituut.nl / node_modules / randomfill /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE8 years ago1.0K 
[TXT]README.md7 years ago459 d768d73 docs [كارل مبارك]
[   ]browser.js8 years ago2.9K 
[   ]index.js8 years ago266 3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago1.7K3e510ca test new git [كارل مبارك]
[   ]test.js8 years ago821  
README.md

randomfill

Version

randomfill from node that works in the browser. In node you just get crypto.randomBytes, but in the browser it uses .crypto/msCrypto.getRandomValues

var randomFill = require('randomfill');
var buf
randomFill.randomFillSync(16);//get 16 random bytes
randomFill.randomFill(16, function (err, resp) {
  // resp is 16 random bytes
});
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80