/ live.thehmm.nl / back / node_modules / randombytes /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE40 years ago1.0K 
[TXT]README.md40 years ago575 d7c1522 post receive test [كارل مبارك]
[   ]browser.js40 years ago1.5K 
[   ]index.js40 years ago 47  
[   ]package.json2 years ago1.7K 
[   ]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