pub fn new_with_deterministic_nonces<H>() -> Frost<H, Deterministic<H>>
where H: Tag + Digest<OutputSize = U32> + Default + Clone,
Expand description

Constructor for a Frost instance using deterministic nonce generation.

If you use deterministic nonce generation you will have to provide a unique session id to every signing session. The advantage is that you will be able to regenerate the same nonces at a later point from Frost::gen_nonce.

use schnorr_fun::frost;
let frost = frost::new_with_deterministic_nonces::<sha2::Sha256>();