Skip to main content

commit

Function commit 

Source
pub fn commit(key_share_json: &str) -> Result<String>
Expand description

Round 1 for one signer. key_share_json is one entry from generate_key’s shares array. Returns JSON {"nonces": b64, "commitments": b64}. The nonces field is SECRET: keep it only on this signer’s device, use it for exactly one sign_share call, then discard it.