Interface ParameterCalibrationService
- All Known Implementing Classes:
Pbkdf2ParameterCalibrator
public interface ParameterCalibrationService
Produces a
CalibrationProfile for a specific algorithm by
running the underlying KDF and measuring its runtime.
Implementations are intentionally algorithm-specific: each KDF has its own dominant cost knob (PBKDF2 iterations, Argon2id memory, scrypt N) and its own admissible-value rules.
Calibration is an offline / operator-driven activity. Production
code must not call this on every startup — the result
should be persisted through CalibrationProfileStore and
reloaded thereafter (CWE-754).
-
Method Summary
-
Method Details
-
calibrate
- Parameters:
target- desired verification runtime (e.g. 250 ms)- Returns:
- calibrated profile whose parameters approximate the target within the implementation's tolerance
-