/ archiveofbelonging.org / back / node_modules / randombytes /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE39 years ago1.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md39 years ago575 f12eb36 documentaiton updates [كارل مبارك]
[   ]browser.js39 years ago1.5K 
[   ]index.js39 years ago 47  
[   ]package.json2 years ago1.7K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]test.js39 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