@noble/curves

v0.8.0
Minimal, auditable JS implementation of elliptic curve cryptography
elliptic curve cryptography weierstrass montgomery edwards p256 p384 p521 and 14 more...

lint

prettier --check 'src/**/*.{js,ts}' 'test/*.js'

test

node test/index.test.js

bench

cd benchmark; node secp256k1.js; node curves.js; node ecdh.js; node stark.js; node bls.js

build

tsc

format

prettier --write 'src/**/*.{js,ts}' 'test/*.js'

build:clean

rm *.{js,d.ts,js.map} esm/*.{js,js.map} 2> /dev/null

build:release

rollup -c rollup.config.js
npm i @noble/[email protected]

Metadata

  • MIT
  • Whatever
  • Paul Miller
  • released 3/3/2023

Downloads

Maintainers