KeyGuard / bench.js
SeaWolf-AI's picture
KeyGuard i18n(KO/EN/ZH) + browser auto-detect + expanded explanation
a72f0f9 verified
Raw History Blame Contribute Delete
1.71 kB
const BENCH={
"meta": {
"total": 145,
"vuln": 65,
"clean": 80,
"cats": {
"close": 20,
"shared": 20,
"short": 15,
"bade": 10
},
"keybits": "2048-bit (short: 512/768)",
"generated": "2026-11-25",
"seed": 20262025
},
"rows": [
{
"name": "KeyGuard (ours · combined)",
"recall": 100.0,
"fpr": 0.0,
"time_s": 0.073,
"tp": 65,
"fp": 0,
"percat": {
"close": 100,
"shared": 100,
"short": 100,
"bade": 100
}
},
{
"name": "Size + exponent check",
"recall": 38.5,
"fpr": 0.0,
"time_s": 0.0,
"tp": 25,
"fp": 0,
"percat": {
"close": 0,
"shared": 0,
"short": 100,
"bade": 100
}
},
{
"name": "batch-GCD-only",
"recall": 30.8,
"fpr": 0.0,
"time_s": 0.009,
"tp": 20,
"fp": 0,
"percat": {
"close": 0,
"shared": 100,
"short": 0,
"bade": 0
}
},
{
"name": "Fermat-only",
"recall": 30.8,
"fpr": 0.0,
"time_s": 0.095,
"tp": 20,
"fp": 0,
"percat": {
"close": 100,
"shared": 0,
"short": 0,
"bade": 0
}
},
{
"name": "ROCA detector-only",
"recall": 0.0,
"fpr": 0.0,
"time_s": 0.0,
"tp": 0,
"fp": 0,
"percat": {
"close": 0,
"shared": 0,
"short": 0,
"bade": 0
}
},
{
"name": "Trial division (classical)",
"recall": 0.0,
"fpr": 0.0,
"time_s": 3.123,
"tp": 0,
"fp": 0,
"percat": {
"close": 0,
"shared": 0,
"short": 0,
"bade": 0
}
},
{
"name": "Pollard rho (classical)",
"recall": 0.0,
"fpr": 0.0,
"time_s": 28.401,
"tp": 0,
"fp": 0,
"percat": {
"close": 0,
"shared": 0,
"short": 0,
"bade": 0
}
}
]
}
;