2022-12-03 13:08:49 +03:00
|
|
|
{
|
|
|
|
"name": "@noble/curves",
|
2023-02-10 01:19:15 +03:00
|
|
|
"version": "0.6.4",
|
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": [
|
2023-02-14 19:39:56 +03:00
|
|
|
"lib",
|
|
|
|
"src"
|
2022-12-03 13:08:49 +03:00
|
|
|
],
|
|
|
|
"scripts": {
|
2023-01-27 05:43:18 +03:00
|
|
|
"bench": "cd benchmark; node secp256k1.js; node curves.js; node stark.js; node bls.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": {
|
2023-02-06 22:50:41 +03:00
|
|
|
"@noble/hashes": "1.2.0"
|
2022-12-28 09:32:27 +03:00
|
|
|
},
|
2022-12-03 13:08:49 +03:00
|
|
|
"devDependencies": {
|
2022-12-28 09:32:27 +03:00
|
|
|
"@scure/base": "~1.1.1",
|
2023-02-06 22:50:41 +03:00
|
|
|
"@scure/bip32": "~1.1.5",
|
|
|
|
"@scure/bip39": "~1.1.1",
|
2022-12-28 09:32:27 +03:00
|
|
|
"@types/node": "18.11.3",
|
|
|
|
"fast-check": "3.0.0",
|
2023-01-27 05:43:18 +03:00
|
|
|
"micro-bmark": "0.3.0",
|
2023-01-26 10:26:07 +03:00
|
|
|
"micro-should": "0.4.0",
|
2023-01-21 21:02:58 +03:00
|
|
|
"prettier": "2.8.3",
|
2022-12-03 13:08:49 +03:00
|
|
|
"typescript": "4.7.3"
|
|
|
|
},
|
|
|
|
"main": "index.js",
|
|
|
|
"exports": {
|
2022-12-28 09:57:42 +03:00
|
|
|
".": {
|
|
|
|
"types": "./lib/index.d.ts",
|
|
|
|
"import": "./lib/esm/index.js",
|
|
|
|
"default": "./lib/index.js"
|
|
|
|
},
|
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"
|
|
|
|
},
|
2023-01-26 06:14:21 +03:00
|
|
|
"./abstract/curve": {
|
|
|
|
"types": "./lib/abstract/curve.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/curve.js",
|
|
|
|
"default": "./lib/abstract/curve.js"
|
2022-12-28 09:32:27 +03:00
|
|
|
},
|
|
|
|
"./abstract/utils": {
|
|
|
|
"types": "./lib/abstract/utils.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/utils.js",
|
|
|
|
"default": "./lib/abstract/utils.js"
|
|
|
|
},
|
2023-01-23 21:41:19 +03:00
|
|
|
"./abstract/poseidon": {
|
|
|
|
"types": "./lib/abstract/poseidon.d.ts",
|
|
|
|
"import": "./lib/esm/abstract/poseidon.js",
|
|
|
|
"default": "./lib/abstract/poseidon.js"
|
|
|
|
},
|
2022-12-28 09:32:27 +03:00
|
|
|
"./_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",
|
2022-12-28 09:57:42 +03:00
|
|
|
"ed25519",
|
|
|
|
"ed448",
|
2022-12-28 09:32:27 +03:00
|
|
|
"bls12-381",
|
|
|
|
"bn254",
|
2022-12-28 09:57:42 +03:00
|
|
|
"pasta",
|
2022-12-28 09:32:27 +03:00
|
|
|
"bls",
|
2022-12-03 13:08:49 +03:00
|
|
|
"nist",
|
|
|
|
"ecc",
|
|
|
|
"ecdsa",
|
|
|
|
"eddsa",
|
|
|
|
"schnorr"
|
|
|
|
],
|
|
|
|
"funding": [
|
|
|
|
{
|
|
|
|
"type": "individual",
|
|
|
|
"url": "https://paulmillr.com/funding/"
|
|
|
|
}
|
|
|
|
]
|
2023-01-23 21:41:19 +03:00
|
|
|
}
|