Function ergo_lib::wallet::signing::sign_message
source · 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