UNPKG

@noble/post-quantum

Version:

Auditable & minimal JS implementation of post-quantum public-key cryptography: FIPS 203, 204, 205

95 lines (94 loc) 2.49 kB
{ "name": "@noble/post-quantum", "version": "0.4.0", "description": "Auditable & minimal JS implementation of post-quantum public-key cryptography: FIPS 203, 204, 205", "files": [ "*.js", "*.js.map", "*.d.ts", "*.d.ts.map", "esm", "src" ], "scripts": { "bench": "node benchmark/ml-kem.js noble; node benchmark/ml-dsa.js noble; node benchmark/slh-dsa.js noble", "bench:all": "node benchmark/{ml-kem,ml-dsa,slh-dsa}.js", "bench:install": "cd benchmark && npm install && cd ../../", "build": "tsc && tsc -p tsconfig.cjs.json", "build:release": "npx jsbt esbuild test/build", "build:clean": "rm {.,esm}/*.{js,d.ts,d.ts.map,js.map} 2> /dev/null", "lint": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'", "format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'", "test": "node test/index.js", "test:big": "SLOW_TESTS=1 node test/index.js", "test:bun": "bun test/index.js", "test:deno": "deno --allow-env --allow-read test/index.js" }, "author": "Paul Miller (https://paulmillr.com)", "homepage": "https://paulmillr.com/noble/", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/noble-post-quantum.git" }, "license": "MIT", "sideEffects": false, "dependencies": { "@noble/hashes": "1.7.1" }, "devDependencies": { "@paulmillr/jsbt": "0.3.1", "micro-bmark": "0.4.0", "micro-should": "0.5.1", "prettier": "3.3.2", "typescript": "5.5.2" }, "main": "index.js", "exports": { ".": { "import": "./esm/index.js", "require": "./index.js" }, "./index": { "import": "./esm/index.js", "require": "./index.js" }, "./_crystals": { "import": "./esm/_crystals.js", "require": "./_crystals.js" }, "./ml-dsa": { "import": "./esm/ml-dsa.js", "require": "./ml-dsa.js" }, "./ml-kem": { "import": "./esm/ml-kem.js", "require": "./ml-kem.js" }, "./slh-dsa": { "import": "./esm/slh-dsa.js", "require": "./slh-dsa.js" }, "./utils": { "import": "./esm/utils.js", "require": "./utils.js" } }, "keywords": [ "ml-kem", "ml-dsa", "slh-dsa", "kyber", "dilithium", "sphincs", "fips203", "fips204", "fips205", "pqc", "post-quantum", "public-key", "crypto", "noble", "cryptography" ], "funding": "https://paulmillr.com/funding/" }