]> git.codecow.com Git - libnemo.git/commitdiff
Improve tool documentation.
authorChris Duncan <chris@zoso.dev>
Wed, 3 Sep 2025 19:01:31 +0000 (12:01 -0700)
committerChris Duncan <chris@zoso.dev>
Wed, 3 Sep 2025 19:01:31 +0000 (12:01 -0700)
src/lib/tools.ts

index 0b5e5af7e2e6d19970782555a22e5f226028c69d..6976e57b3a3f63591cf27625f2de127d65f645e2 100644 (file)
@@ -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<ArrayBuffer>} key - Hexadecimal-formatted private key to use for signing
 * @param {...string} input - Data to be signed