2022-12-03 13:08:49 +03:00
|
|
|
{
|
|
|
|
"name": "@noble/curves",
|
2022-12-24 06:47:30 +03:00
|
|
|
"version": "0.4.0",
|
2022-12-28 09:32:27 +03:00
|
|
|
"description": "Minimal, auditable JS implementation of elliptic curve cryptography",
|
2022-12-03 13:08:49 +03:00
|
|
|
"files": [
|
|
|
|
"index.js",
|
|
|
|
"lib",
|
|
|
|
"lib/esm"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2022-12-28 09:32:27 +03:00
|
|
|
"bench": "node benchmark/index.js",
|
2022-12-03 13:08:49 +03:00
|
|
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
|
|
"build:release": "rollup -c rollup.config.js",
|
2022-12-28 09:32:27 +03:00
|
|
|
"lint": "prettier --check 'src/**/*.{js,ts}' 'test/*.js'",
|
|
|
|
"format": "prettier --write 'src/**/*.{js,ts}' 'test/*.js'",
|
|
|
|
"test": "node test/index.test.js"
|
2022-12-03 13:08:49 +03:00
|
|
|
},
|
|
|
|
"author": "Paul Miller (https://paulmillr.com)",
|
|
|
|
"homepage": "https://paulmillr.com/noble/",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/paulmillr/noble-curves.git"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
2022-12-28 09:32:27 +03:00
|
|
|
"dependencies": {
|
|
|
|
"@noble/hashes": "~1.1.5"
|
|
|
|
},
|
2022-12-03 13:08:49 +03:00
|
|
|
"devDependencies": {
|
|
|
|
"@rollup/plugin-node-resolve": "13.3.0",
|
2022-12-28 09:32:27 +03:00
|
|
|
"@scure/base": "~1.1.1",
|
|
|
|
"@scure/bip32": "~1.1.1",
|
|
|
|
"@scure/bip39": "~1.1.0",
|
|
|
|
"@types/node": "18.11.3",
|
|
|
|
"fast-check": "3.0.0",
|
2022-12-03 13:08:49 +03:00
|
|
|
"micro-bmark": "0.2.0",
|
|
|
|
"micro-should": "0.2.0",
|
|
|
|
"prettier": "2.6.2",
|
|
|
|
"rollup": "2.75.5",
|
|
|
|
"typescript": "4.7.3"
|
|
|
|
},
|
|
|
|
"main": "index.js",
|
|
|
|
"exports": {
|
2022-12-28 09:32:27 +03:00
|
|
|
"./abstract/edwards": {
|
|
|
|
"types": "./lib/abstract/edwards.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/edwards.js",
|
|
|
|
"default": "./lib/abstract/edwards.js"
|
|
|
|
},
|
|
|
|
"./abstract/modular": {
|
|
|
|
"types": "./lib/abstract/modular.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/modular.js",
|
|
|
|
"default": "./lib/abstract/modular.js"
|
|
|
|
},
|
|
|
|
"./abstract/montgomery": {
|
|
|
|
"types": "./lib/abstract/montgomery.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/montgomery.js",
|
|
|
|
"default": "./lib/abstract/montgomery.js"
|
|
|
|
},
|
|
|
|
"./abstract/weierstrass": {
|
|
|
|
"types": "./lib/abstract/weierstrass.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/weierstrass.js",
|
|
|
|
"default": "./lib/abstract/weierstrass.js"
|
|
|
|
},
|
|
|
|
"./abstract/bls": {
|
|
|
|
"types": "./lib/abstract/bls.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/bls.js",
|
|
|
|
"default": "./lib/abstract/bls.js"
|
|
|
|
},
|
|
|
|
"./abstract/hash-to-curve": {
|
|
|
|
"types": "./lib/abstract/hash-to-curve.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/hash-to-curve.js",
|
|
|
|
"default": "./lib/abstract/hash-to-curve.js"
|
|
|
|
},
|
|
|
|
"./abstract/group": {
|
|
|
|
"types": "./lib/abstract/group.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/group.js",
|
|
|
|
"default": "./lib/abstract/group.js"
|
|
|
|
},
|
|
|
|
"./abstract/utils": {
|
|
|
|
"types": "./lib/abstract/utils.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/utils.js",
|
|
|
|
"default": "./lib/abstract/utils.js"
|
|
|
|
},
|
|
|
|
"./_shortw_utils": {
|
|
|
|
"types": "./lib/_shortw_utils.d.ts",
|
|
|
|
"import": "./lib/esm/_shortw_utils.js",
|
|
|
|
"default": "./lib/_shortw_utils.js"
|
|
|
|
},
|
|
|
|
"./bls12-381": {
|
|
|
|
"types": "./lib/bls12-381.d.ts",
|
|
|
|
"import": "./lib/esm/bls12-381.js",
|
|
|
|
"default": "./lib/bls12-381.js"
|
|
|
|
},
|
|
|
|
"./bn": {
|
|
|
|
"types": "./lib/bn.d.ts",
|
|
|
|
"import": "./lib/esm/bn.js",
|
|
|
|
"default": "./lib/bn.js"
|
|
|
|
},
|
|
|
|
"./ed25519": {
|
|
|
|
"types": "./lib/ed25519.d.ts",
|
|
|
|
"import": "./lib/esm/ed25519.js",
|
|
|
|
"default": "./lib/ed25519.js"
|
|
|
|
},
|
|
|
|
"./ed448": {
|
|
|
|
"types": "./lib/ed448.d.ts",
|
|
|
|
"import": "./lib/esm/ed448.js",
|
|
|
|
"default": "./lib/ed448.js"
|
|
|
|
},
|
|
|
|
"./index": {
|
|
|
|
"types": "./lib/index.d.ts",
|
|
|
|
"import": "./lib/esm/index.js",
|
|
|
|
"default": "./lib/index.js"
|
|
|
|
},
|
|
|
|
"./jubjub": {
|
|
|
|
"types": "./lib/jubjub.d.ts",
|
|
|
|
"import": "./lib/esm/jubjub.js",
|
|
|
|
"default": "./lib/jubjub.js"
|
|
|
|
},
|
|
|
|
"./p192": {
|
|
|
|
"types": "./lib/p192.d.ts",
|
|
|
|
"import": "./lib/esm/p192.js",
|
|
|
|
"default": "./lib/p192.js"
|
|
|
|
},
|
|
|
|
"./p224": {
|
|
|
|
"types": "./lib/p224.d.ts",
|
|
|
|
"import": "./lib/esm/p224.js",
|
|
|
|
"default": "./lib/p224.js"
|
|
|
|
},
|
|
|
|
"./p256": {
|
|
|
|
"types": "./lib/p256.d.ts",
|
|
|
|
"import": "./lib/esm/p256.js",
|
|
|
|
"default": "./lib/p256.js"
|
|
|
|
},
|
|
|
|
"./p384": {
|
|
|
|
"types": "./lib/p384.d.ts",
|
|
|
|
"import": "./lib/esm/p384.js",
|
|
|
|
"default": "./lib/p384.js"
|
|
|
|
},
|
|
|
|
"./p521": {
|
|
|
|
"types": "./lib/p521.d.ts",
|
|
|
|
"import": "./lib/esm/p521.js",
|
|
|
|
"default": "./lib/p521.js"
|
|
|
|
},
|
|
|
|
"./pasta": {
|
|
|
|
"types": "./lib/pasta.d.ts",
|
|
|
|
"import": "./lib/esm/pasta.js",
|
|
|
|
"default": "./lib/pasta.js"
|
|
|
|
},
|
|
|
|
"./secp256k1": {
|
|
|
|
"types": "./lib/secp256k1.d.ts",
|
|
|
|
"import": "./lib/esm/secp256k1.js",
|
|
|
|
"default": "./lib/secp256k1.js"
|
|
|
|
},
|
|
|
|
"./stark": {
|
|
|
|
"types": "./lib/stark.d.ts",
|
|
|
|
"import": "./lib/esm/stark.js",
|
|
|
|
"default": "./lib/stark.js"
|
2022-12-03 13:08:49 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"elliptic",
|
|
|
|
"curve",
|
|
|
|
"cryptography",
|
2022-12-28 09:32:27 +03:00
|
|
|
"weierstrass",
|
|
|
|
"montgomery",
|
|
|
|
"edwards",
|
2022-12-03 13:08:49 +03:00
|
|
|
"p256",
|
|
|
|
"p384",
|
|
|
|
"p521",
|
2022-12-28 09:32:27 +03:00
|
|
|
"secp256r1",
|
|
|
|
"secp256k1",
|
|
|
|
"bls12-381",
|
|
|
|
"bn254",
|
|
|
|
"bls",
|
2022-12-03 13:08:49 +03:00
|
|
|
"nist",
|
|
|
|
"ecc",
|
|
|
|
"ecdsa",
|
|
|
|
"eddsa",
|
|
|
|
"schnorr"
|
|
|
|
],
|
|
|
|
"funding": [
|
|
|
|
{
|
|
|
|
"type": "individual",
|
|
|
|
"url": "https://paulmillr.com/funding/"
|
|
|
|
}
|
|
|
|
]
|
2022-12-28 09:32:27 +03:00
|
|
|
}
|