UNPKG

cloudworker-proxy

Version:
6 lines (4 loc) 136 B
var crypto = self.crypto || self.msCrypto module.exports = function (bytes) { return crypto.getRandomValues(new Uint8Array(bytes)) }