Function sign_message
pub fn sign_message(
secret: FixedBytes<32>,
message: FixedBytes<32>,
) -> Result<Signature, Error>Available on crate features
secp256k1 or k256 only.Expand description
Signs message with the given secret key. Returns the corresponding signature.