ethereum-cryptography
Version:
All the cryptographic primitives used in Ethereum.
12 lines (11 loc) • 383 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRandomBytesSync = getRandomBytesSync;
exports.getRandomBytes = getRandomBytes;
const utils_1 = require("@noble/hashes/utils");
function getRandomBytesSync(bytes) {
return (0, utils_1.randomBytes)(bytes);
}
async function getRandomBytes(bytes) {
return (0, utils_1.randomBytes)(bytes);
}
;