From: Chris Duncan Date: Mon, 4 Aug 2025 17:34:49 +0000 (-0700) Subject: Documentation. X-Git-Tag: v0.10.5~46^2~14 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=9dd74ce0bf97dcaa264147fefa23f3fac69992af;p=libnemo.git Documentation. --- 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) {