[−][src]Function sodiumoxide::crypto::sign::ed25519::sign
pub fn sign(m: &[u8], sk: &SecretKey) -> Vec<u8>
sign()
signs a message m
using the signer's secret key sk
.
sign()
returns the resulting signed message sm
.