From 9dd74ce0bf97dcaa264147fefa23f3fac69992af Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 4 Aug 2025 10:34:49 -0700 Subject: [PATCH] Documentation. --- src/lib/entropy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/entropy.ts b/src/lib/entropy.ts index 470b4e7..df1e072 100644 --- a/src/lib/entropy.ts +++ b/src/lib/entropy.ts @@ -39,7 +39,7 @@ export class Entropy { constructor (buffer: ArrayBuffer) /** * Import existing entropy and validate it. - * @param {Uint8Array} bytes - Byte array + * @param {Uint8Array} bytes - Byte array */ constructor (bytes: Uint8Array) /** @@ -88,7 +88,7 @@ export class Entropy { } /** - * Randomizes the bytes, rendering the original values generally inaccessible. + * Zeros the bytes and transfers the buffer, rendering the values inaccessible. */ destroy (): void { if (!this.#bytes.buffer.detached) { -- 2.47.3