Merge 70ed3dafd6
into f19e6c8172
This commit is contained in:
commit
b538ae6bb4
@ -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
|
||||
})()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user