From 1c18bd4a841d946a903e0d7b6404afe97a1c8bab Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 3 Sep 2025 12:01:31 -0700 Subject: [PATCH] Improve tool documentation. --- src/lib/tools.ts | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3