random.browser.js
This file
Path
random.browser.js
5 lines · 136 bytes · JavaScript
Last changed by
Reduce index.js sizeAndrey Sitnikbefore adoptionc28c36f
History of this fileTake it
123456var crypto = self.crypto || self.msCrypto
module.exports = function (bytes) { return crypto.getRandomValues(new Uint8Array(bytes))}