Function sign_message
pub fn sign_message(
secret: FixedBytes<32>,
message: FixedBytes<32>,
) -> Result<PrimitiveSignature, Error>
Expand description
Signs message with the given secret key. Returns the corresponding signature.
pub fn sign_message(
secret: FixedBytes<32>,
message: FixedBytes<32>,
) -> Result<PrimitiveSignature, Error>
Signs message with the given secret key. Returns the corresponding signature.