BouncyCastleCryptoBackend

constructor(classical: CryptoBackend, isSigningDeterministic: Boolean = false)(source)

Parameters

classical

the backend for every algorithm that is not ML-KEM or ML-DSA, and for randomness.

isSigningDeterministic

whether ML-DSA signs with the deterministic variant (rnd = {0}^32, FIPS 204 §3.4) instead of the default hedged one. Deterministic signatures are reproducible, which known-answer tests need; hedged ones resist fault and side-channel attacks better.