Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions randombytes.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ var randombytes = (function () {

if (crypto && crypto.getRandomValues) return browserBytes

if (require != null) {
// Node.js. Bust Browserify
crypto = require('cry' + 'pto')
if (crypto && crypto.randomBytes) return nodeBytes
}

return noImpl
})()

Expand Down