]> git.codecow.com Git - nano25519.git/commitdiff
Formatting.
authorChris Duncan <chris@codecow.com>
Thu, 20 Aug 2026 00:10:51 +0000 (17:10 -0700)
committerChris Duncan <chris@codecow.com>
Thu, 20 Aug 2026 00:10:51 +0000 (17:10 -0700)
esbuild/config.mjs
src/assembly/fe.ts
test/vectors.mjs

index bbd1dc9905a68e721ab09948d4a48b6aabd73ae8..a0b77d76dfcb89cb90622dd684e28199917f8690 100644 (file)
@@ -3,7 +3,7 @@
 
 import { browserWorker, nodeWorker } from './inject/worker.mjs'
 /**
- * @type import("esbuild").BuildOptions
+ * @type import('esbuild').BuildOptions
  */
 const commonOptions = {
        bundle: true,
@@ -18,7 +18,7 @@ const commonOptions = {
 }
 
 /**
- * @type import("esbuild").BuildOptions
+ * @type import('esbuild').BuildOptions
  */
 export const browserOptions = {
        ...commonOptions,
@@ -34,7 +34,7 @@ export const browserOptions = {
 }
 
 /**
- * @type import("esbuild").BuildOptions
+ * @type import('esbuild').BuildOptions
  */
 export const nodeOptions = {
        ...commonOptions,
index e12d4b4943be007cecebcafb2d06bb8efe639679..5b21a74bbc7870565de9fae142c3c1fa31ac8869 100644 (file)
@@ -14,7 +14,7 @@
  *
  * `n = 2⁰a[0] + 2²⁶a[1] + 2⁷⁷a[2] ... + 2²³⁰a[9]`
  */
-import { load_3, load_4, sodium_is_zero } from "./utils"
+import { load_3, load_4, sodium_is_zero } from './utils'
 
 /**
  * 10x 25- and 26-bit array of values representing a large integer `n mod p`.
index 0f97bbad315f07637abb1955476c35cc5bc2c84e..34027db4086c9fecb15d3fa7ef415251cc5353f9 100644 (file)
@@ -17,9 +17,13 @@ export const NANO_ORG_VECTOR = {
        invalidMessageLength: 'BB569136FA05F8CBF65CEF2EDE368475B289C4477342976556BA4C0DDF216E450',
 }
 
-// https://github.com/rsnano-node/rsnano-node/blob/develop/types/src/private_key.rs
-// Small-order public key producing malleable signatures
-// Address: nano_11a11111111111111111111111111111111111111111111111116iq5p4i8
+/**
+ * https://github.com/rsnano-node/rsnano-node/blob/develop/types/src/private_key.rs
+ *
+ * Small-order public key producing malleable signatures
+ *
+ * Address: nano_11a11111111111111111111111111111111111111111111111116iq5p4i8
+ */
 export const PROBLEM_VECTOR = {
        blockHash: '150AFD70BD1E9845715F91D7CD7D5EE2683668199F19B4DF533FC7802CE07CA2',
        publicKey: '0100000000000000000000000000000000000000000000000000000000000000',
@@ -27,7 +31,8 @@ export const PROBLEM_VECTOR = {
 }
 
 /**
- * Test vectors derived from "python-ed25519-blake2b" by Janne Pulkkinen.
+ * Test vectors derived from `python-ed25519-blake2b` by Janne Pulkkinen.
+ *
  * https://github.com/Matoking/python-ed25519-blake2b
  */
 export const PYTHON_ED25519_BLAKE2B_VECTORS = [