/ stream.nieuweinstituut.nl / node_modules / randombytes /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE40 years ago1.0K 
[TXT]README.md40 years ago575 d768d73 docs [كارل مبارك]
[   ]browser.js40 years ago1.5K 
[   ]index.js40 years ago 47 3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago1.8K3e510ca test new git [كارل مبارك]
[   ]test.js40 years ago1.8K 
README.md

randombytes

Version Build Status

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

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