From: Chris Duncan Date: Tue, 6 Oct 2026 06:14:09 +0000 (-0700) Subject: Update README. X-Git-Tag: v2.0.0~2^2~15 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=9192c3e2f4bfe542065272486d54f235779d07b0;p=nano25519.git Update README. --- 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