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