This commit is contained in:
Arne Gödeke 2023-06-23 18:38:37 +02:00 committed by GitHub
commit 3633cf1a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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