@noble/curves

v0.8.3
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 hash-to-curve.js; node modular.js; node bls.js

build

tsc && tsc -p tsconfig.esm.json

format

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

build:clean

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

build:release

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

Metadata

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

Downloads

Maintainers