This commit is contained in:
Arne Gödeke
2023-06-23 18:38:37 +02:00
committed by GitHub
+1 -1
View File
@@ -20,7 +20,7 @@ var randombytes = (function () {
if (crypto && crypto.getRandomValues) return browserBytes
if (require != null) {
if (typeof require === 'function') {
// Node.js. Bust Browserify
crypto = require('cry' + 'pto')
if (crypto && crypto.randomBytes) return nodeBytes