pub fn sign_message(
secret: B256,
message: B256,
) -> Result<PrimitiveSignature, Error>
Available on crate feature
secp256k1
only.Expand description
Signs message with the given secret key. Returns the corresponding signature.