JD2022-TU1/data/EngineData/Photoshop/photoshop.justdancetool/node_modules/randombytes
2026-10-05 12:05:45 +03:00
..
.travis.yml А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
.zuul.yml А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
browser.js А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
index.js А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
package.json А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
README.md А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00
test.js А это уже второй коммит (сам проект) 2026-10-05 12:05:45 +03:00

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
});