From: Chris Duncan Date: Wed, 3 Sep 2025 19:01:31 +0000 (-0700) Subject: Improve tool documentation. X-Git-Tag: v0.10.5~33^2~1 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=1c18bd4a841d946a903e0d7b6404afe97a1c8bab;p=libnemo.git Improve tool documentation. --- diff --git a/src/lib/tools.ts b/src/lib/tools.ts index 0b5e5af..6976e57 100644 --- a/src/lib/tools.ts +++ b/src/lib/tools.ts @@ -112,6 +112,7 @@ function hash (data: string | string[], encoding?: 'hex', format?: 'hex'): strin /** * Signs arbitrary strings with a private key using the Ed25519 signature scheme. +* The strings are first hashed to a 32-byte value using BLAKE2b. * * @param {string | Uint8Array} key - Hexadecimal-formatted private key to use for signing * @param {...string} input - Data to be signed