crypto-miller-rabin
Version:
Implementation of the Miller-Rabin primality test.
41 lines (40 loc) • 983 B
JSON
{
"name": "crypto-miller-rabin",
"repository": "github:fabiospampinato/crypto-miller-rabin",
"description": "Implementation of the Miller-Rabin primality test.",
"license": "MIT",
"version": "1.0.1",
"type": "module",
"main": "dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"benchmark": "tsex benchmark",
"benchmark:watch": "tsex benchmark --watch",
"clean": "tsex clean",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"test": "tsex test",
"test:watch": "tsex test --watch",
"prepublishOnly": "tsex prepare"
},
"keywords": [
"crypto",
"miller",
"rabin",
"prime",
"primality",
"test"
],
"dependencies": {
"crypto-random-in-range": "^2.0.1",
"fast-mod-exp": "^1.0.1"
},
"devDependencies": {
"benchloop": "^2.1.1",
"crypto-sieve": "^1.1.3",
"fava": "^0.3.4",
"tsex": "^4.0.2",
"typescript": "^5.7.3"
}
}