PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-coin-dot/node_modules/@polkadot/x-randomvalues/cjs

Просмотр файла: node.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.crypto = exports.packageInfo = void 0;
exports.getRandomValues = getRandomValues;
const tslib_1 = require("tslib");
const node_crypto_1 = tslib_1.__importDefault(require("node:crypto"));
const x_global_1 = require("@polkadot/x-global");
var packageInfo_js_1 = require("./packageInfo.js");
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
exports.crypto = (0, x_global_1.extractGlobal)('crypto', node_crypto_1.default.webcrypto);
function getRandomValues(output) {
    return exports.crypto.getRandomValues(output);
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!