import { Data, Headers, WorkerInterface } from '.'\r
import { Blake2b } from '#src/lib/blake2b.js'\r
\r
-// 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
-//\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
+/**\r
+* 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
+*\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 extends WorkerInterface {\r
static {\r
NanoNaCl.listen()\r