exp_learned.py completes the learned side of the result stages, so every figure can carry both realizations of keyed masking. real() holds the structured artifacts aside and restores them, since exp_real_sec writes fixed file names. replot_security.py ranks legend handles from one declared order at all three ax.legend call sites, so entries no longer follow plot-call order and drift between figures.
258 B
258 B
| 1 | scheme | legit | eve | entropy_bits |
|---|---|---|---|---|
| 2 | None (fixed key) | 0.05300666667 | 0.9997075 | 23.76910417 |
| 3 | Fresh orthogonal keys | 0.1215548611 | 0.9996535069 | 23.76910417 |
| 4 | Invariant, KM (str.) | 0.05304121528 | 0.9995528819 | 364.5801064 |
| 5 | Invariant, KM (lrn.) | 0.063800 | 0.997200 | 364.5801064 |