[][src]Function polymesh::service::native_schnorrkel::sign

pub fn sign(raw_sk: [u8; 64], message: &[u8]) -> Option<Signature>

Sign the message message, using the given secret key. It returns None if the secret key cannot be created from the input raw bytes.