fedimint_server::config::distributedgen

Function scalar

Source
pub fn scalar(peer: &PeerId) -> Scalar
Expand description

PeerIds are offset by 1, since evaluating a poly at 0 reveals the secret