From 9192c3e2f4bfe542065272486d54f235779d07b0 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 5 Oct 2026 23:14:09 -0700 Subject: [PATCH] Update README. --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0a43af..5a02abf 100644 --- a/README.md +++ b/README.md @@ -198,13 +198,20 @@ optimized to take advantage of SIMD parallelism using WebAssembly vector types. ## Tests -A few basic tests are availabe in the source repository. +A few basic tests are availabe in the source repository under `test/`. - `index.html` is a web interface to test browser execution and compare performance with other browser-based implementations. -- `test.mjs` is a test for NodeJS to check result validity. It runs a +- `node.mjs` is a test for NodeJS to check result validity. It runs a derive-sign-verify sequence for public test vectors obtained from the python-ed25519-blake2b library. +- `big-endian.mjs` runs the NodeJS test again but prepatches the primordial + `Words` class to emulate toggled endianness. +- `vectors.mjs` is generated by `esbuild` using the files found in + `test/vectors`. + +Tests are run with a debug build using `npm t` and a production build with +`npm run test:prod`. ## Building @@ -217,6 +224,7 @@ A few basic tests are availabe in the source repository. git clone https://codecow.com/nano25519.git cd nano25519 npm i +npm run build ``` ## Reporting Bugs -- 2.52.0