pub fn sign_message(
    prover: &dyn Prover,
    sigma_tree: SigmaBoolean,
    msg: &[u8]
) -> Result<Vec<u8>, ProverError>
Expand description

Sign arbitrary message under a key representing a statement provable via a sigma-protocol. A statement can be a simple ProveDlog (PK) or a complex sigma conjectives tree