From: Chris Duncan Date: Mon, 11 Aug 2025 16:42:28 +0000 (-0700) Subject: Shorten JSdoc for nano-nacl. X-Git-Tag: v0.10.5~41^2~113 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=ef7e2ef62d9e0fffe4901a8c6d489fb929520ab5;p=libnemo.git Shorten JSdoc for nano-nacl. --- 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 {