[−][src]Function monocypher::pubkey::sign::sign
pub fn sign(
secret_key: [u8; 32],
public_key: [u8; 32],
message: &[u8]
) -> [u8; 64]
Signs a message with secret_key. The public key is optional, and will be recomputed if not provided. This recomputation doubles the execution time.