UNPKG

@noble/post-quantum

Version:

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

87 lines (86 loc) 2.43 kB
{ "name": "@noble/post-quantum", "version": "0.6.1", "description": "Auditable & minimal JS implementation of post-quantum cryptography: FIPS 203, 204, 205, Falcon", "files": [ "*.js", "*.js.map", "*.d.ts", "*.d.ts.map", "src" ], "dependencies": { "@noble/ciphers": "~2.2.0", "@noble/curves": "~2.2.0", "@noble/hashes": "~2.2.0" }, "devDependencies": { "@paulmillr/jsbt": "0.5.0", "@types/node": "25.3.0", "fast-check": "4.2.0", "prettier": "3.6.2", "typescript": "6.0.2" }, "scripts": { "bench": "node test/benchmark.ts", "build": "tsc", "build:release": "npx --no @paulmillr/jsbt esbuild test/build", "check": "npm run check:readme && npm run check:treeshake && npm run check:jsdoc", "check:readme": "npx --no @paulmillr/jsbt readme package.json", "check:treeshake": "npx --no @paulmillr/jsbt treeshake package.json test/build/out-treeshake", "check:jsdoc": "npx --no @paulmillr/jsbt tsdoc package.json", "build:clean": "rm *.{js,js.map,d.ts,d.ts.map} 2> /dev/null", "format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'", "test": "node test/index.ts", "test:bun": "bun test/index.ts", "test:deno": "deno --allow-env --allow-read test/index.ts", "test:node20": "cd test; npx tsc; node compiled/test/index.js", "test:slow": "SLOW_TESTS=1 node test/index.ts" }, "exports": { ".": "./index.js", "./_crystals.js": "./_crystals.js", "./falcon.js": "./falcon.js", "./hybrid.js": "./hybrid.js", "./ml-dsa.js": "./ml-dsa.js", "./ml-kem.js": "./ml-kem.js", "./slh-dsa.js": "./slh-dsa.js", "./utils.js": "./utils.js" }, "engines": { "node": ">= 20.19.0" }, "keywords": [ "ml-kem", "ml-dsa", "slh-dsa", "kyber", "dilithium", "sphincs", "fips203", "fips204", "fips205", "falcon", "xwing", "kitchensink", "pqc", "post-quantum", "public-key", "crypto", "noble", "cryptography" ], "homepage": "https://paulmillr.com/noble/", "funding": "https://paulmillr.com/funding/", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/noble-post-quantum.git" }, "type": "module", "main": "index.js", "module": "index.js", "types": "index.d.ts", "sideEffects": false, "author": "Paul Miller (https://paulmillr.com)", "license": "MIT" }