/ c4f / front / node_modules / randombytes /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]test.js5 months ago1.8K 
[   ]package.json5 months ago869  
[   ]index.js5 months ago 47  
[   ]browser.js5 months ago1.5K 
[TXT]README.md5 months ago575  
[   ]LICENSE5 months ago1.0K 
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