Quantumbraid's picture
download
raw
399 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const crypto_1 = require("crypto");
const rnds8Pool = new Uint8Array(256);
let poolPtr = rnds8Pool.length;
function rng() {
if (poolPtr > rnds8Pool.length - 16) {
(0, crypto_1.randomFillSync)(rnds8Pool);
poolPtr = 0;
}
return rnds8Pool.slice(poolPtr, (poolPtr += 16));
}
exports.default = rng;

Xet Storage Details

Size:
399 Bytes
·
Xet hash:
c5001d36eb4a546cf414e2fb6b6ab211495d65849fcf0b57a669e058bbb19fc8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.