// RNG values for use in UUID generation. This *must* use a high-quality source// of entropy, such as `crypto.getRandomValues()`. And we reuse an array for// performance.const rnds8 = newUint8Array(16);
exportdefaultfunctionrng() {
return crypto.getRandomValues(rnds8);
}