noble-curves/curve-definitions
2022-12-20 15:05:20 +01:00
..
benchmark Refactor tests slightly: group tests 2022-12-14 22:21:56 +01:00
lib/esm definitions: esm pkg.json 2022-12-16 03:13:46 +01:00
src Todo in stark 2022-12-15 22:52:46 +01:00
test add test/package.json to treat tests as esm 2022-12-16 03:14:36 +01:00
LICENSE Initial commit 2022-12-04 18:19:01 +01:00
package.json Release 0.2.1. 2022-12-20 15:05:20 +01:00
README.md Initial commit 2022-12-04 18:19:01 +01:00
tsconfig.esm.json Adjust curve-definitions to use double-module system 2022-12-16 03:09:51 +01:00
tsconfig.json Adjust curve-definitions to use double-module system 2022-12-16 03:09:51 +01:00

micro-curve-definitions

Elliptic curves implementations. @noble/curves is zero-dependency library for internal arithmetics.

micro-curve-definitions is the actual implementations. Current functionality:

  • NIST curves: P192, P224, P256, P384, P521 (ECDSA)
  • secp256k1 (ECDSA, without Schnorr)
  • stark curve
  • bn254

Pairings are not implemented.

Usage

npm install micro-curve-definitions
import * as nist from 'micro-curve-definitions';

// P192, P224, P256, P384, P521, bn254

License

MIT (c) Paul Miller (https://paulmillr.com), see LICENSE file.