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