diff --git a/lib/crypto.js b/lib/crypto.js deleted file mode 100644 index 18ee91f..0000000 --- a/lib/crypto.js +++ /dev/null @@ -1,11 +0,0 @@ -// mimic a subset of node's crypto API for the browser - -function randomBytes(width) { - var out = new Uint8Array(width); - (global.crypto || global.msCrypto).getRandomValues(out); - return out; -} - -module.exports = { - randomBytes: randomBytes -}