From ef7e2ef62d9e0fffe4901a8c6d489fb929520ab5 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 11 Aug 2025 09:42:28 -0700 Subject: [PATCH] Shorten JSdoc for nano-nacl. --- src/lib/crypto/nano-nacl.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/lib/crypto/nano-nacl.ts b/src/lib/crypto/nano-nacl.ts index 524e412..1228cc9 100644 --- a/src/lib/crypto/nano-nacl.ts +++ b/src/lib/crypto/nano-nacl.ts @@ -7,13 +7,11 @@ import { Blake2b } from '#crypto' * Ported in 2014 by Dmitry Chestnykh and Devi Mandiri. * Public domain. * -* Implementation derived from TweetNaCl version 20140427. -* See for details: http://tweetnacl.cr.yp.to/ +* Implementation derived from TweetNaCl version 20140427: http://tweetnacl.cr.yp.to/ +* +* Modified to hash secret key to public key using BLAKE2b instead of SHA-512 per +* Nano cryptocurrency specifications: https://docs.nano.org/integration-guides/the-basics/ * -* Modified in 2024 by Chris Duncan to hash secret key to public key using -* BLAKE2b instead of SHA-512 as specified in the documentation for Nano -* cryptocurrency. -* See for details: https://docs.nano.org/integration-guides/the-basics/ * Original source commit: https://github.com/dchest/tweetnacl-js/blob/71df1d6a1d78236ca3e9f6c788786e21f5a651a6/nacl-fast.js */ export class NanoNaCl { -- 2.47.3