thrussh_keys::key::ed25519
pub fn sign_detached(m: &[u8], sk: &SecretKey) -> Signature
Sign a message with a secret key.