pub fn sign(msg: &[u8], sk: &SecretKey) -> SignedMessage
👎 Deprecated:

Insecure cryptography, do not use in production

Expand description

Sign the message and return the signed message.