]> git.codecow.com Git - libnemo.git/commitdiff
Shorten JSdoc for nano-nacl.
authorChris Duncan <chris@zoso.dev>
Mon, 11 Aug 2025 16:42:28 +0000 (09:42 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 11 Aug 2025 16:42:28 +0000 (09:42 -0700)
src/lib/crypto/nano-nacl.ts

index 524e4128f990d5e2c42012ee0f518bac9e4c6471..1228cc975ffc858846069e1c84e91416579c4f6c 100644 (file)
@@ -7,13 +7,11 @@ import { Blake2b } from '#crypto'
 * Ported in 2014 by Dmitry Chestnykh and Devi Mandiri.\r
 * Public domain.\r
 *\r
-* Implementation derived from TweetNaCl version 20140427.\r
-* See for details: http://tweetnacl.cr.yp.to/\r
+* Implementation derived from TweetNaCl version 20140427: http://tweetnacl.cr.yp.to/\r
+*\r
+* Modified to hash secret key to public key using BLAKE2b instead of SHA-512 per\r
+* Nano cryptocurrency specifications: https://docs.nano.org/integration-guides/the-basics/\r
 *\r
-* Modified in 2024 by Chris Duncan to hash secret key to public key using\r
-* BLAKE2b instead of SHA-512 as specified in the documentation for Nano\r
-* cryptocurrency.\r
-* See for details: https://docs.nano.org/integration-guides/the-basics/\r
 * Original source commit: https://github.com/dchest/tweetnacl-js/blob/71df1d6a1d78236ca3e9f6c788786e21f5a651a6/nacl-fast.js\r
 */\r
 export class NanoNaCl {\r