Skip to main content
RandomUUIDOptions.disableEntropyCache - crypto - Node documentation
property RandomUUIDOptions.disableEntropyCache

Usage in Deno

import { type RandomUUIDOptions } from "node:crypto";

By default, to improve performance, Node.js will pre-emptively generate and persistently cache enough random data to generate up to 128 random UUIDs. To generate a UUID without using the cache, set disableEntropyCache to true.

Type

boolean | undefined