UNPKG

web-enc-at-rest

Version:
8 lines (7 loc) 253 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.randomBytes = void 0; function randomBytes(byteLength) { return globalThis.crypto.getRandomValues(new Uint8Array(byteLength)); } exports.randomBytes = randomBytes;