From: Chris Duncan Date: Tue, 15 Jul 2025 12:36:03 +0000 (-0700) Subject: Formatting. X-Git-Tag: v0.10.5~57^2~16 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=63c8a4fa4f774c4146d2d0b1c6dba698e85747a1;p=libnemo.git Formatting. --- diff --git a/src/lib/workers/nano-nacl.ts b/src/lib/workers/nano-nacl.ts index 3aa624c..441e053 100644 --- a/src/lib/workers/nano-nacl.ts +++ b/src/lib/workers/nano-nacl.ts @@ -6,18 +6,19 @@ import { Data, Headers, WorkerInterface } from '.' import { Blake2b } from '#src/lib/blake2b.js' -// 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/ -// -// 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 - +/** +* 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/ +* +* 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 extends WorkerInterface { static { NanoNaCl.listen()